Skip to content

Commit

Permalink
Web PVR: fixed escaping in form post parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
dinkypumpkin committed Nov 20, 2014
1 parent 7c0bf77 commit 88138e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion get_iplayer.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ sub parse_post_form_string {
decode_entities($val);
# url encode each entry
# $val =~ s/([^A-Za-z0-9])/sprintf("%%%02X", ord($1))/seg;
$val =~ uri_escape_utf8($1);
$val = uri_escape_utf8($val);
push @data, "$key=$val";
}
return join '&', @data;
Expand Down

0 comments on commit 88138e1

Please sign in to comment.