Users of DPAE,
---- %<----
$ grep request Extensible.pm
return redirect uri_for($loginpage, { return_url => request->path });
return redirect uri_for($loginpage, { return_url => request->path });
return redirect uri_for($deniedpage, { return_url => request->path });
This is developed on GitHub - please feel free to raise issues or pull requests
---- >%----
I am building an app with Dancer::Plugin::Auth::Extensible
Apache deployment like this:
AddHandler fastcgi-script .fcgi
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /dispatch.fcgi/$1 [QSA,L]
I do not want the SCRIPT_NAME
but I do want the query_string "?foo=bar"
in the return_url.
Changing "request->path" into "request->request_uri"
does it for me.
Is this the "right" patch?
--
Henk
_______________________________________________
dancer-users mailing list
[email protected]
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users