From 7b140b07b3fdcf7951e12a418d51afe1329c4859 Mon Sep 17 00:00:00 2001 From: "Heiko Schlittermann (HS12-RIPE)" Date: Wed, 28 Jun 2017 22:48:53 +0200 Subject: [PATCH] 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 --- cgi-bin/eximstatus.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 = -- 2.30.2