Incorrect Behavior In ORDS When Defining REST APIs With Trailing Slash
(Doc ID 2862932.1)
Last updated on JULY 29, 2022
Applies to:
Oracle REST Data Services - Version 21.4.2 and laterInformation in this document applies to any platform.
Symptoms
If you create a simple ORDS module, with a simple template and handler that define URLs of the following forms (note, using standalone localhost:Port but the same behavior can be also seen in Tomcat)
http://localhost:port/ords/rest/<MODULE_NAME>/test/:ABC?
You can send in an arbitrary number of trailing slashes and you get a 200 OK response, but it does not call the handler
$ curl -v "http://localhost:port/ords/rest/mc/test/////////////////////////"
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |