How to handle backslash ("\") after host? - "errorcode": "protocol.http.InvalidPath"

When I insert a backslash ("") in the resource url, it returns an error message that leaves room for an ‘intruder’ to figure out which gateway I’m using.

url:
[https://myorg.apigee/ ](https://myorg.apigee//)

generated error:

{"fault": {"faultstring": "Invalid path GET // HTTP / 1.1", "detail": {"error code": "protocol.http.InvalidPath"}}}

By searching for: “errorcode”: “protocol.http.InvalidPath”, it is possible to identify that ApiGee is being used as API management platform.

How can I handle this backslash?

Thanks.

Not sure about that - you may need to contact Apigee support to inquire about that. (Use your support portal/dashboard)

1 Like