Skip to content

Commit

Permalink
Item13903: urlDecode the URI before saving it.
Browse files Browse the repository at this point in the history
Otherwise it gets double-encoded.
  • Loading branch information
gac410 committed Dec 30, 2015
1 parent dcee054 commit 6a6dd46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/lib/Foswiki/LoginManager/TemplateLogin.pm
Expand Up @@ -61,6 +61,7 @@ sub _packRequest {
if ( ref($uri) ) { # first parameter is a $session
my $r = $uri->{request};
$uri = $r->uri();
$uri = Foswiki::urlDecode($uri);
$method = $r->method() || 'UNDEFINED';
$action = $r->action();
}
Expand Down

0 comments on commit 6a6dd46

Please sign in to comment.