Commit 500effe7 authored by Roger Pau Monné's avatar Roger Pau Monné Committed by Brad Fitzpatrick

http: modified perl cgi test to remove newline from env variables

Fixes #1639

R=golang-dev, bradfitzgo
CC=golang-dev
https://golang.org/cl/4291069
parent 1f223463
...@@ -30,5 +30,7 @@ foreach my $k (sort keys %$params) { ...@@ -30,5 +30,7 @@ foreach my $k (sort keys %$params) {
} }
foreach my $k (sort keys %ENV) { foreach my $k (sort keys %ENV) {
print "env-$k=$ENV{$k}\n"; my $clean_env = $ENV{$k};
$clean_env =~ s/[\n\r]//g;
print "env-$k=$clean_env\n";
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment