Subject: | $c->req needs localising |
Some parts of the $c->req structure are modified during a subrequest and
not resinstated.
For example if a TT view is used:-
[%
# sub request for group
Catalyst.subreq('/ajax/select_groups', {}, {
default => 1});
....
# Build a debug link
SET uri = Catalyst.request.uri;
uri.query_param_append('dump_info', 1);
# use the uri in something...
%]
The uri link will refer to the subrequest URI and *not* the original URI
as expected.