Last modified: 2013-10-05 21:12:36 UTC
This section of the RFC explains how it is done. http://tools.ietf.org/html/rfc3986#section-5.2.4 For example, "/a/b/c/./../../g" becomes "/a/g". This is important for security reasons where you need to limit URLs to a certain prefix.
There's already a @fixme on the function asking for just that :)
(In reply to comment #0) > This section of the RFC explains how it is done. > http://tools.ietf.org/html/rfc3986#section-5.2.4 > > For example, "/a/b/c/./../../g" becomes "/a/g". We do accept patches!
(In reply to comment #1) > There's already a @fixme on the function asking for just that :) Ignore me. Per IRC discussion at the time, I was misreading the @todo and how it relates to this bug (actually, they don't relate at all)
(In reply to comment #2) > We do accept patches! I do intend to implement this. I just wanted to file a bug so people could comment on it. ;-)
First step (wfRemoveDotSegments) is in r102587.
r103199 and r103208 finish this off.