Subject: | Problem under CGI::Fast |
CAP::Session causes important problem under CGI::Fast.
CAP::Session should treat CGI::Fast object the same as CGI object.
If it doesn't, CGI::Session creates CGI object by itself.
And it causes that CGI object caches params.
It is important problem. That's why the cached params
will be used in another request.
The code should be fixed as follows:
[before]
if (ref $params[1] && ref $params[1] ne 'CGI') {
[after]
if (ref $params[1] && ! $params[1]->isa('CGI') ) {
Cheers,
Yuji Maeda