[wp-trac] Re: [WordPress Trac] #1748: root-relative links should be converted to absolute in rss feeds

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 5 15:50:54 GMT 2007


#1748: root-relative links should be converted to absolute in rss feeds
---------------------------+------------------------------------------------
 Reporter:  digitalgimpus  |        Owner:  markjaquith
     Type:  defect         |       Status:  assigned   
 Priority:  normal         |    Milestone:  2.4        
Component:  General        |      Version:  1.5.2      
 Severity:  normal         |   Resolution:             
 Keywords:  needs-patch    |  
---------------------------+------------------------------------------------
Changes (by pishmishy):

  * summary:  relative links should be converted to absolute in rss feeds
              => root-relative links should be converted to
              absolute in rss feeds

Comment:

 I don't believe that there's a full solution to this ticket. The intended
 destination of a relative link inside a post is ambiguous. A relative link
 to foo/bar.html can link to http://myblog.com/foo/bar.html on the main
 page, http://myblog.com/category/uncategorized/foo/bar.html in the
 archives and http://myblog.com/2007/11/05/8/foo/bar.html when viewing a
 single post.

 What we can do is attempt to fix "root-relative" links (those starting in
 /). I'm not sure this is worth fixing. Can someone point to the place
 where relative links are not allowed?

-- 
Ticket URL: <http://trac.wordpress.org/ticket/1748#comment:7>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list