[wp-trac] Re: [WordPress Trac] #6599: Inpage URLs can be realtive instead of being always absolute.

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 28 14:10:13 GMT 2009


#6599: Inpage URLs can be realtive instead of being always absolute.
-----------------------------+----------------------------------------------
 Reporter:  hakre            |        Owner:  anonymous
     Type:  feature request  |       Status:  reopened 
 Priority:  normal           |    Milestone:           
Component:  General          |      Version:           
 Severity:  normal           |   Resolution:           
 Keywords:                   |  
-----------------------------+----------------------------------------------
Changes (by hakre):

  * status:  closed => reopened
  * resolution:  invalid =>


Comment:

 Replying to [comment:6 Otto42]:
 > Replying to [comment:5 hakre]:
 > > Because a Permalink is an URL/URI, writing it as a relative or
 absolute one does not make any difference. Your argumentation just fails
 here.
 >
 > I'm sorry, but you are mistaken.
 >
 > If I have a permalink that looks like this:
 >
 > http://example.com/blog/2009/name-of-post
 >
 > And it contains a relative image link, like "image.jpg", then that is
 going to resolve to http://example.com/blog/2009/name-of-post/image.jpg by
 the browser.
 >
 > The problem is that image.jpg does not exist there, as the entire
 permalink structure (everything after "blog") is pretend. It's make-
 believe. The directories don't actually exist. That's what the rewriting
 is all about.

 It seems to me, we are not talking about the same terms. Maybe we can get
 those clear before continuing to argue.

 '''Definition of Terms (Suggestion)'''

 - Link (HTML): As describben in [http://www.rfc-editor.org/rfc/rfc1866.txt
 rfc1866];
 {{{
 absolute URI
             a URI in absolute form; for example, as per [URL]
 base URI
             an absolute URI used in combination with a relative URI
             to determine another absolute URI.
 URI
             A Uniform Resource Identifier is a formatted string that
             serves as an identifier for a resource, typically on the
             Internet. URIs are used in HTML to identify the anchors
             of hyperlinks. URIs in common practice include Uniform
             Resource Locators (URLs)[URL] and Relative URLs
             [RELURL].
 [RELURL]
             Fielding, R., "Relative Uniform Resource Locators", RFC
             1808, June 1995
             <URL:ftp://ds.internic.net/rfc/rfc1808.txt>
 [URI]
             Berners-Lee, T., "Universal Resource Identifiers in WWW:
             A Unifying Syntax for the Expression of Names and
             Addresses of Objects on the Network as used in the
             World- Wide Web",  RFC 1630, CERN, June 1994.
             <URL:ftp://ds.internic.net/rfc/rfc1630.txt>
 [URL]
             Berners-Lee, T., Masinter, L., and M. McCahill, "Uniform
             Resource Locators (URL)", RFC 1738, CERN, Xerox PARC,
             University of Minnesota, December 1994.
             <URL:ftp://ds.internic.net/rfc/rfc1738.txt>
 }}}
 - Permalink: As describben [http://en.wikipedia.org/wiki/Permalink here
 (wikipedia)].

 Any Problems with that?

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


More information about the wp-trac mailing list