diff options
author | Brion Vibber <brion@pobox.com> | 2010-04-03 10:08:13 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-04-03 10:08:13 -0700 |
commit | a29c19b4de5b061a7455699cc61e89ef9d856312 (patch) | |
tree | 7a04c2827a56fcea351ab782ea728be07534cd08 /lib/noticelist.php | |
parent | b42e044f6e5111fe6cb7d4a7b7431cd9b9b67ccb (diff) |
Ticket #2273: Fix bookmarklet with URls with special characters
The tartget page's URL was not being URL-escaped when passed as a parameter into the query string. Result was that any URL-encoded bytes in the link would be unescaped and interpreted as raw UTF-8 when our bookmarklet post target page reads its parameters; this would break 8-bit high characters (eg a Latin-1 %FC turning into a corrupt UTF-8 byte) or reserved chars that needed to be kept escaped (eg a %3F turning into literal ?)
Unfortunately as this was a bug in the original bookmarklet's JS code, this'll only fix it for people who grab a fresh copy of the bookmarklet.
Diffstat (limited to 'lib/noticelist.php')
0 files changed, 0 insertions, 0 deletions