Surprisingly, this seems to be correct behavior. Backslashes are not among the characters allowed in the HTTP or HTTPS URL (as per RFC 1738 ), so they must be escaped. Note that the RFC explicitly mentions a backslash as an unsafe character:
Other characters are unsafe because gateways and other transport agents are known to sometimes change such characters. These characters are "{", "}", "|", "\", "^", "~", "[", "]" and "` ".
All unsafe characters must always be encoded in the URL.
In other words, Firefox does the right thing even if it crashes pages that use backslashes incorrectly (mainly due to confusing URL syntax with Windows path syntax). Other browsers try to read the mind of the author of the page, and they convert the backslash to forward slashes before sending the request; whether it is a good thing, it is a matter of opinion.
Have you tried matching the escaped backslash - %5C ?
source share