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

(Doc ID 1996240.1)

Last updated on JUNE 06, 2017

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.

 

Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms