in reply to CGI hidden params vs. character encoding
First of all, decode( 'utf8', $untrusted ) is a security issue.
Secondly, UTF8 is a perl-specific encoding. UTF-8 is the actual encoding. It doesn't make sense to tell the browser you're using UTF8 (-encoding => 'utf8').
I haven't pinpointed the problem, but changing UTF8 to UTF-8 throughout fixed the problem.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: CGI hidden params vs. character encoding
by graff (Chancellor) on May 27, 2008 at 22:41 UTC | |
by ikegami (Patriarch) on May 27, 2008 at 23:31 UTC | |
by graff (Chancellor) on May 28, 2008 at 00:41 UTC | |
by ikegami (Patriarch) on May 28, 2008 at 01:24 UTC | |
|
Re^2: CGI hidden params vs. character encoding
by graff (Chancellor) on May 28, 2008 at 02:19 UTC | |
by ikegami (Patriarch) on May 28, 2008 at 04:19 UTC | |
by Anonymous Monk on May 28, 2008 at 02:35 UTC | |
|
Re^2: CGI hidden params vs. character encoding
by graff (Chancellor) on May 27, 2008 at 23:21 UTC | |
by ikegami (Patriarch) on May 27, 2008 at 23:46 UTC |