Nick Kew wrote:
Yes, it's legal. The leading slash is implied. Note: that's leading slash, which is firmly different to a trailing slash in a path.
for abspath you are correct. but in general; URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ] hier-part = "//" authority path-abempty / path-absolute / path-rootless / path-empty injecting a leading slash where an empty (rootless) path is implied will change the meaning on the fly :( Bill