Skip to Content
Former Member
Jun 05, 2017 at 05:28 PM

encoded slash in url


We have a controller GET mapping like /myurl/{userid}

The userid is sent as an encoded value and that encoded value has a forward slash in it ("/"). Having a slash in the url causes a 404 error because it reads the "/" as a path divider. We've updated the sender to encode the slash as %2F, but we still get a 404 not found and it appears to be decoding the "/" before mapping. An example of the final url is but it ends up being treated as

I've looked at the documentation for XSS filter but don't see anything about /, so does anyone else have any suggestions/pointers to allow the embedded encoded slash to pass through?