#6218 closed defect (bug) (invalid)
Wordpress modifies URL data in href's
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
Data inside an href is changed, and I do not think under any case should a user entered url be changed unless outside an href. Currently the & (ampersand) gets url encoded, as seen here:
<a href="http://example.com/lists/?p=subscribe&id=1">
should be:
<a href="http://example.com/lists/?p=subscribe&id=1">
This of course pisses of a html validator.
I think this is also wrong:
<a href="http://example.com/wp-admin/post.php?action=edit&post=119" title="Edit post">Edit This</a>
As you can see, URL encode on the ampersand again. While a browser recovers from this, the W3C expressly states you should only do this when you want to show an & on the page, not in a url that will end up in a browser.
It is now making a lot of sense why some urls emailed to others are failing on OS X mail.app
I believe you are mistaken. http://www.htmlhelp.com/tools/validator/problems.html#amp