Test case for issues 28
formatting and remove debugging code
normalize URLs that have ".." in them

fixes #28 and #29
Merge branch 'pr/29'