git://git.exim.org
/
buildfarm-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
417bde7
)
eximstatus: uri_escape the branchname for sig processing
author
Heiko Schlittermann (HS12-RIPE)
<hs@schlittermann.de>
Wed, 28 Jun 2017 20:48:53 +0000
(22:48 +0200)
committer
farm
<farm@eximfarm.krot.org>
Wed, 28 Jun 2017 20:48:53 +0000
(22:48 +0200)
This is necessary as the clients are expected to uri_escape
the branchname too. We want branchnames like exim-4_89+fixes
cgi-bin/eximstatus.pl
patch
|
blob
|
history
diff --git
a/cgi-bin/eximstatus.pl
b/cgi-bin/eximstatus.pl
index df25467a0ed0f945b052d247d96d873f35ad95cd..d2e46380eca391bb0e4dc9ea33c219af470c84e5 100755
(executable)
--- a/
cgi-bin/eximstatus.pl
+++ b/
cgi-bin/eximstatus.pl
@@
-9,6
+9,7
@@
See accompanying License file for license details
=cut
use strict;
+use URI::Escape;
use vars qw($dbhost $dbname $dbuser $dbpass $dbport
$all_stat $fail_stat $change_stat $green_stat
@@
-76,7
+77,7
@@
if (open($brhandle,"../htdocs/branches_of_interest.txt"))
my $content =
-
"branch=$branch
&res=$res&stage=$stage&animal=$animal&".
+
'branch=' . uri_escape($branch) . "
&res=$res&stage=$stage&animal=$animal&".
"ts=$ts&log=$log&conf=$conf";
my $extra_content =