[wp-trac] Re: [WordPress Trac] #3635: RSS feed and relative url
gives warning
WordPress Trac
wp-trac at lists.automattic.com
Thu Feb 8 19:08:03 GMT 2007
#3635: RSS feed and relative url gives warning
-----------------------------------+----------------------------------------
Reporter: snakefoot | Owner: anonymous
Type: defect | Status: closed
Priority: normal | Milestone:
Component: Administration | Version: 2.0.7
Severity: normal | Resolution: wontfix
Keywords: rss feed relative url |
-----------------------------------+----------------------------------------
Comment (by markjaquith):
I think Mark was mistaken in that instance, because he was linking to the
same document.
See: http://www.apps.ietf.org/rfc/rfc3986.html#sec-4.4
What's really interesting is that people are now using those fragments as
permalinks for AJAX-powered applications, because you can change that
fragment in the location bar of the browser without refreshing the page.
But then what happens if someone visits a URL that is [baseurl]#fragment1
and then from that URL tries to go to [baseurl]#fragment2 ? RFC3986 says
that the browser shouldn't issue a new request, because it is considered a
same document reference.
So, clever, but not foolproof.
As for this issue, we ''could'' fix it by running a {{{preg_replace()}}}
filter on RSS content, but I don't know if it's worth it.
--
Ticket URL: <http://trac.wordpress.org/ticket/3635#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list