When using a Catalyst action as ErrorDocument handler in Apache-mod_perl,
$c->req->uri does not give the URI the user typed in, but the one registered
as handler. This makes it impossible to for example use a 404 handler as
search shortcut.
The attached patch adds an "initial_uri" accessor to Catalyst::Request to give
access to that information. Please review and apply if everything's ok.
--
Markus Zimmermann
$c->req->uri does not give the URI the user typed in, but the one registered
as handler. This makes it impossible to for example use a 404 handler as
search shortcut.
The attached patch adds an "initial_uri" accessor to Catalyst::Request to give
access to that information. Please review and apply if everything's ok.
--
Markus Zimmermann