My Oracle Support Banner

":" (colon) Is URL-encoded When Setting "@QueryParam" + "@Encoded" On JAX-RS (Doc ID 2204722.1)

Last updated on OCTOBER 10, 2022

Applies to:

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


First, the details of each annotation is the following:

Annotation Type QueryParam
Values are URL decoded unless this is disabled using the Encoded annotation.

Annotation Type Encoded
Disables automatic decoding of parameter values bound using QueryParam, PathParam, FormParam or MatrixParam. Using this annotation on a method will disable decoding for all parameters. Using this annotation on a class will disable decoding for all parameters of all methods.

This issue can be confirmed using the following steps.

(0) Deploy attached app (ParamEncodeTest).


(1) Access following URLs.


case1 : http://localhost:7001/ParamEncodeTest/rs/encoded/on?param=++::
    -> ++::
case2 : http://localhost:7001/ParamEncodeTest/rs/encoded/on/++::
    -> ++::

The ":"(coron) in the QueryParam is URL_encoded.


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

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