X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst.pm;h=e384bbb4cd3908963bd9d9220d92f5910a067843;hp=b9c6d767ecf14479e83635c1466f58f3c3b2e007;hb=0d94e986178610515926806b405beeab19457a36;hpb=4d94a93ad9c5791db5861b3dc2250aa6ef4770f2 diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index b9c6d76..e384bbb 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -3233,6 +3233,7 @@ sub _handle_unicode_decoding { sub _handle_param_unicode_decoding { my ( $self, $value ) = @_; return unless defined $value; # not in love with just ignoring undefs - jnap + return $value if blessed($value); #don't decode when the value is an object. my $enc = $self->encoding; return try { @@ -3882,6 +3883,27 @@ backwardly compatible). =item * +C + +When creating body parameters from a POST, if we run into a multpart POST +that does not contain uploads, but instead contains inlined complex data +(very uncommon) we cannot reliably convert that into field => value pairs. So +instead we create an instance of L. If this causes +issue for you, you can disable this by setting C +to true (default is false). + +=item * + +C + +Generally we decode incoming POST params based on your declared encoding (the +default for this is to decode UTF-8). If this is causing you trouble and you +do not wish to turn all encoding support off (with the C configuration +parameter) you may disable this step atomically by setting this configuration +parameter to true. + +=item * + C - See L. =item *