projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f2a645
)
escape ' ' with '+' in url's
author
Kay Sievers
<kay.sievers@suse.de>
Mon, 14 Nov 2005 14:15:12 +0000
(15:15 +0100)
committer
Kay Sievers
<kay.sievers@suse.de>
Mon, 14 Nov 2005 14:15:12 +0000
(15:15 +0100)
gitweb.cgi
patch
|
blob
|
history
diff --git
a/gitweb.cgi
b/gitweb.cgi
index a88c985b5e6f7cf10d2280c5940573d1beb6479f..0822cb1e323a5d5444f10bc853c6e901acd7ca67 100755
(executable)
--- a/
gitweb.cgi
+++ b/
gitweb.cgi
@@
-209,8
+209,8
@@
if (!defined $action || $action eq "summary") {
sub esc {
my $str = shift;
- $str =~ s/ /%20/g;
$str =~ s/\+/%2B/g;
+ $str =~ s/ /\+/g;
return $str;
}
@@
-2167,7
+2167,7
@@
sub git_search {
if ($pickaxe_search) {
$/ = "\n";
- open my $fd, "-|", "$gitbin/git-rev-list $hash | $gitbin/git-diff-tree -r --stdin -S
$searchtext
";
+ open my $fd, "-|", "$gitbin/git-rev-list $hash | $gitbin/git-diff-tree -r --stdin -S
\'$searchtext\'
";
undef %co;
my @files;
while (my $line = <$fd>) {