Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Item14176: exclude POSTDATA from QUERYSTRING
  • Loading branch information
MichaelDaum committed Sep 7, 2016
1 parent 312f936 commit c873799
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/lib/Foswiki/Request.pm
Expand Up @@ -242,6 +242,7 @@ sub queryString {
my $this = shift;
my @params;
foreach my $name ( $this->param ) {
next if $name eq 'POSTDATA';
my $key = Foswiki::urlEncode($name);
push @params,
map { $key . "=" . Foswiki::urlEncode( defined $_ ? $_ : '' ) }
Expand Down

0 comments on commit c873799

Please sign in to comment.