diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2012-08-15 21:27:47 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2012-08-15 21:27:47 +0200 |
commit | 366be5044d13da8e493a3a1e3d7153a18470c170 (patch) | |
tree | eca7eb89e12fe95b902447065445a57829f539fe | |
parent | faf9c432e75a871db9b5e3efcd2fa76010b634c9 (diff) | |
download | bugs-366be5044d13da8e493a3a1e3d7153a18470c170.tar bugs-366be5044d13da8e493a3a1e3d7153a18470c170.tar.gz bugs-366be5044d13da8e493a3a1e3d7153a18470c170.tar.bz2 bugs-366be5044d13da8e493a3a1e3d7153a18470c170.tar.xz bugs-366be5044d13da8e493a3a1e3d7153a18470c170.zip |
Bug 771100: Unable to attach a file to a bug with perl 5.16
r=dkl a=LpSolit
-rw-r--r-- | Bugzilla/CGI.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm index febbff618..09907fb55 100644 --- a/Bugzilla/CGI.pm +++ b/Bugzilla/CGI.pm @@ -350,7 +350,7 @@ sub param { sub _fix_utf8 { my $input = shift; # The is_utf8 is here in case CGI gets smart about utf8 someday. - utf8::decode($input) if defined $input && !utf8::is_utf8($input); + utf8::decode($input) if defined $input && !ref $input && !utf8::is_utf8($input); return $input; } |