Use REQUEST_URI to restore request path in Choice URL (#1022)

This commit is contained in:
Clément Oudot 2016-05-20 08:47:39 +00:00
parent 7eba684565
commit a65e1f6f0a

View File

@ -197,7 +197,8 @@ sub _buildAuthLoop {
if ( $auth and $userDB and $passwordDB ) {
# Default URL
$url ||= "#";
$url = ( defined $url ? $url .= $ENV{'REQUEST_URI'} : '#' );
$self->lmLog( "Use URL $url", 'debug' );
# Options to store in the loop
my $optionsLoop =