Hi,

I added ZnUrl>>#withRelativeReference: which implements the process described 
in section 5 of RFC 3986.

https://pharo.fogbugz.com/f/cases/14855/Add-reference-resolution-to-ZnUrl

Summary:

In certain contexts (like links on a webpage) partial URLs are used that must 
be interpreted relative to a base URL (like the URL of the webpage itself).

Example:

  'http://www.site.com/static/html/home.html' asZnUrl
      withRelativeReference: '../js/menu.js'

  => http://www.site.com/static/js/menu.js

This was previously not possible with ZnUrl. 

If you know this stuff, please have a look. 

Monty ? Peter ?

Sven

PS: this is in #bleedingEdge for now


Reply via email to