1.506+ parent sets contextPath=/jenkins, which we want here.
Use pathInfo, not requestURI, since Jenkins may be running with a nonempty context path.