WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 3861
11655
URIs not correctly handled in XHTML document anchor tags
https://bugs.webkit.org/show_bug.cgi?id=11655
Summary
URIs not correctly handled in XHTML document anchor tags
J Ross Nicoll
Reported
2006-11-20 08:33:55 PST
In XHTML documents, Safari doesn't correctly handle ampersands in the href attribute of anchor tags. If ampersands are encoded (which, from what I can tell of the XHTML and XML specs, is strictly speaking wrong, but nevermind) into &, Safari converts them to & in the final URL. So (see the URL given for an example), the URL
http://127.0.0.1/¬arealurl
becomes
http://127.0.0.1/&notarealurl
. This might be correct behaviour according to the spec, however not encoding the ampersand results in an error (see the second page,
http://bowmore.cs.st-andrews.ac.uk/safari_ampersand_bug2.xhtml
) instead. As such, it appears there's no way of using URLs with ampersands in them, in XHTML pages, under Safari!
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2006-11-21 13:04:06 PST
*** This bug has been marked as a duplicate of
3861
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug