Remove duplicate slashes from an uri path.
authorOleg Nemanov <lego12239@yandex.ru>
Wed, 27 Apr 2016 10:18:03 +0000 (13:18 +0300)
committerOleg Nemanov <lego12239@yandex.ru>
Wed, 27 Apr 2016 10:18:03 +0000 (13:18 +0300)
commitba2ba3e7071886d06ab03e49cb8492151ba8c822
treee8a3006d29a793570c5eb541ab67a9bdb5702e46
parent3c9b72a82ae80f6c13246c829b00a1c9d4dc4858
Remove duplicate slashes from an uri path.

Now Req:get(path) returns a path without duplicate slashes.
E.g. uri path "//foo///bar////" becomes "/foo/bar/".

Signed-off-by: Oleg Nemanov <lego12239@yandex.ru>
src/mochiweb_request.erl
test/mochiweb_tests.erl