My Oracle Support Banner

JAX-RS POST Services Supplied Via Jersey Accepts Query Parameters For @FormParam Annotated Parameters (Doc ID 1996240.1)

Last updated on SEPTEMBER 25, 2020

Applies to:

Oracle WebLogic Server - Version 12.1.1.0 and later
Information in this document applies to any platform.

Symptoms

 JAX-RS POST Services Supplied Via Jersey Accepts Query Parameters For @FormParam Annotated Parameters

 
This is working fine with form parameters without any issue. But when sending as query parameters the rest service is accessible and responds with an HTTP 200 (OK).
This can result in client code being developed for that RESTful POST resource method that will run without error but will expose sensitive parameter values (that should only be in the request body) in the WebLogic access log.

 

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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.