How to handle double slash at the end of base path of url?
Lets say I have proxy setup having base path as below:
https://myorg.apigee.net/subpath
which handles all the conditional flow hitting above url.
Then I have proxy with base path as below to handle invalid resource url:
But, if I hit below url,
It gives:
{"fault": {"faultstring": "Invalid path GET // HTTP/1.1","detail": {"errorcode": "protocol.http.InvalidPath"}}}
How to handle this invalid double slash and return customize error message.
Thanks,