Path parsed incorrectly if there's a segment consisting of dot followed by...
Brought to you by:
niallg
Paths containing segments with dot followed by a single character are normalized incorrectly. For example: path /segment1/segment2/.a after normalization becomes /segment1/ and /segment1/segment2/.a/index.html becomes /segment1/index.html
Attaching my patch that fixes the issue. I am not 100% sure it doesn't break anything else, but at least existing tests pass as well new tests I added.
Last edit: Igor Tkach 2014-09-28