=cut
use strict;
+use URI::Escape;
use vars qw($dbhost $dbname $dbuser $dbpass $dbport
$all_stat $fail_stat $change_stat $green_stat
use FindBin qw($RealBin);
require "$RealBin/../BuildFarmWeb.pl";
-my $buildlogs = "/home/farm/server/buildlogs";
+my $buildlogs = "$RealBin/../buildlogs";
die "no dbname" unless $dbname;
die "no dbuser" unless $dbuser;
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 =