Summary: | google is unable to use non-ascii characters with konqueror. | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Raúl <rasasi78> |
Component: | kjs | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Patch |
Description
Raúl
2007-10-01 18:39:59 UTC
Testcase: <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <script> alert(decodeURIComponent("%C3%A1")); </script> (Should be á) Created attachment 21730 [details]
Patch
This conditional is clearly wrong, since the >= 0x80 chars should be two-byte
encoded. I am not sure we need the overall paranoia about overlongs -- Harri?
SVN commit 719916 by orlovich: Fix a bad regression caused by a bug in the stricter utf-8 validation code that caused us to replace latin1 glyphs (e.g. accented chars) with the unicode replacement character. BUG:150381 M +2 -2 function.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=719916 |