I've been poking about RFCs for the definitive answer about what to do with multiple slashes in the path part without much success.
Is <http://example.com//foo> really equivalent to <http://example.com/foo>? Should URI->new->canonical('http://example.com/////foo') compress the slashes?
slashes matter to the URI (Score:1)
The URIs are not the same. Whether your application decides to ignore repeated
slashes (the way that unix does) is obviously up to that application.
URIs (Score:2)