From: Jonathan Nieder Date: Wed, 26 Sep 2012 21:38:32 GMT Subject: Re: [PATCH 3/7] Extract, test and enhance the logic to collapse ../foo paths. Message-ID: <20120926213831.GB30131@elie.Belkin> In-Reply-To: <20120926205851.GA2166@dcvr.yhbt.net> Eric Wong wrote: > That said, I'd favor an implementation that split on m{/+} and > collapsed as Michael mentioned. Sounds sensible. Is canonicalize_path responsible for collapsing runs of slashes? What should _collapse_dotdot do to "c:/.." or "http://www.example.com/.."?