Hi,
I have an REST API implementation in the Gateway, one of the endpoints is used to upload/download files. I have come across a scenario where using ‘%’ special character in the url is causing 500, 401 errors. Below are various responses of the requests to the endpoint.
http://sampleApp/files/word.docx
- this works.
http://sampleApp/files/word%.docx
- in postman this results in ‘Could not get response’ error.
http://sampleApp/files/word%25.docx
- in postman first requests throws ‘500 - Internal Server Error’, 2nd request throws ‘401[ISS.0084.9013] Invalid or expired session identifier error’, and this repeats.
Shouldn’t the encoding (’%’ → ‘%25’) work? Is there other configuration to handle special characters?
[Update] Pre-formatted the hyperlinks to prevent html from skewing the query.