Branch: Tag:

2011-02-02

2011-02-02 16:19:28 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Standards.URI: More paranoid handling of ..-segments that reach past the root.

166:    // treating them as part of the final URI), by removing them from    // the resolved path (i.e., discarding relative levels above the    // root), or by avoiding traversal of the reference. +  segments -= ({ ".." });    return segments * "/";   }