Skip to content

Commit

Permalink
Merge pull request #2272 from kraih/client_newline
Browse files Browse the repository at this point in the history
Handle newline characters in form parameters correctly with openqa-client
  • Loading branch information
kraih committed Aug 20, 2019
2 parents 9af3c92 + 621fa0f commit caaab13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/client
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ for my $arg (@ARGV) {
if ($arg =~ /^(?:get|post|delete|put)$/i) {
$method = lc $arg;
}
elsif ($arg =~ /^([[:alnum:]_\[\]\.]+)=(.+)/) {
elsif ($arg =~ /^([[:alnum:]_\[\]\.]+)=(.+)$/s) {
$params{$1} = $2;
}
}
Expand Down

0 comments on commit caaab13

Please sign in to comment.