Reworked url handling when trailing slash was omitted.