stop using cached Hash::MultiValue from env
authorAristotle Pagaltzis <pagaltzis@gmx.de>
Mon, 16 Feb 2015 13:50:21 +0000 (14:50 +0100)
committerAristotle Pagaltzis <pagaltzis@gmx.de>
Mon, 16 Feb 2015 13:50:21 +0000 (14:50 +0100)
commit5aca55994d0ff64a75ea7d0900dfff545b36d103
tree4c866eadf2a29d2f818f23c503654116417111ae
parent4d7949d927bc24c50e5ce82e4e94b02973d1475c
stop using cached Hash::MultiValue from env

Plack::Request and Catalyst::Request have incompatible semantics for
naked parameters: P::Rq parses them as keys with empty-string values
while C::Rq parses them as keys with an undef value. Therefore even
if a Hash::MultiValue object was cached by P::Rq in the environment,
it is wrong to reuse it.
lib/Catalyst/Engine.pm