From: Heiko Schlittermann (HS12-RIPE) Date: Wed, 28 Jun 2017 20:48:53 +0000 (+0200) Subject: eximstatus: uri_escape the branchname for sig processing X-Git-Url: https://git.exim.org/buildfarm-server.git/commitdiff_plain/7b140b07b3fdcf7951e12a418d51afe1329c4859 eximstatus: uri_escape the branchname for sig processing This is necessary as the clients are expected to uri_escape the branchname too. We want branchnames like exim-4_89+fixes --- diff --git a/cgi-bin/eximstatus.pl b/cgi-bin/eximstatus.pl index df25467..d2e4638 100755 --- 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 =