File tree Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change
1
+ Git v2.4.12 Release Notes
2
+ =========================
3
+
4
+ Fixes since v2.4.11
5
+ -------------------
6
+
7
+ * "git-shell" rejects a request to serve a repository whose name
8
+ begins with a dash, which makes it no longer possible to get it
9
+ confused into spawning service programs like "git-upload-pack" with
10
+ an option like "--help", which in turn would spawn an interactive
11
+ pager, instead of working with the repository user asked to access
12
+ (i.e. the one whose name is "--help").
Original file line number Diff line number Diff line change @@ -53,9 +53,10 @@ Documentation for older releases are available here:
53
53
link:RelNotes/2.5.1.txt[2.5.1],
54
54
link:RelNotes/2.5.0.txt[2.5].
55
55
56
- * link:v2.4.11 /git.html[documentation for release 2.4.11 ]
56
+ * link:v2.4.12 /git.html[documentation for release 2.4.12 ]
57
57
58
58
* release notes for
59
+ link:RelNotes/2.4.12.txt[2.4.12],
59
60
link:RelNotes/2.4.11.txt[2.4.11],
60
61
link:RelNotes/2.4.10.txt[2.4.10],
61
62
link:RelNotes/2.4.9.txt[2.4.9],
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ static int do_generic_cmd(const char *me, char *arg)
13
13
const char * my_argv [4 ];
14
14
15
15
setup_path ();
16
- if (!arg || !(arg = sq_dequote (arg )))
16
+ if (!arg || !(arg = sq_dequote (arg )) || * arg == '-' )
17
17
die ("bad argument" );
18
18
if (!starts_with (me , "git-" ))
19
19
die ("bad command" );
You can’t perform that action at this time.
0 commit comments