Servlet & context paths not check for leading /

If the servlet or context path contain a leading slash, reversed routes have double slashes when rendered in HTML.