[wp-trac] [WordPress Trac] #11438: Make relative links absolute in feed

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 6 13:40:14 UTC 2010


#11438: Make relative links absolute in feed
--------------------------+-------------------------------------------------
 Reporter:  caesarsgrunt  |       Owner:                
     Type:  enhancement   |      Status:  new           
 Priority:  normal        |   Milestone:  Future Release
Component:  General       |     Version:  2.9           
 Severity:  major         |    Keywords:  needs-patch   
--------------------------+-------------------------------------------------

Comment(by Denis-de-Bernardy):

 That would depend on the link:

  - links that start with a protocol should be left untouched. in
 particular mailto: links.
  - links that start with ../ or ./ should use trailing slashed domain +
 path (without the query string, etc.), possibly with the port, etc.
  - links that start with / ought to use the untrailingslashed domain,
 possibly with the port, etc.

 it's a few tricky regexps. And I still think it ought to be closed as
 wontfix / left for feed readers to work out.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11438#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list