Adding support for URLs ending with /