How to solve "Invalid character found in the request target." "the mistake?

there is a feature in the project that is supported by other browsers and works properly. But when you click on that function in IE11, the JAVA backend will report

Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986
The fault of

.


Jan.25,2022

should we first take a look at the errors caused by some methods in browser adaptation that do not apply to ie, such as whether the parameters from the front end to the back end are consistent on different browsers


take a look at the accept header


debug to see what exactly ie has passed

Menu