My Oracle Support Banner

URL With '%' Value In The Parameter Works In Weblogic (Doc ID 1400400.1)

Last updated on AUGUST 26, 2020

Applies to:

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


Weblogic Server (WLS 10.3.5) accepts "%" values in the request parameter. However, %' character is used for the encoding of escaped characters. We can see about this in the section '2.4.3. Excluded US-ASCII Characters' in RFC-2396.

Reference :

So, using "%" is not accepted in the request parameter. How is Webogic server able to accept "%"?


When I test the following URL with test.jsp below, WLS(10.3.5) and Tomcat send different responses.

### test.jsp ###

String st= request.getParameter("param1");

### Testcase ###

The point of URL I tested is that the value of param1 is '%' alone.
URL : http://<ip>:<port>/Test/test.jsp?param1=%

### Testcase ###

WLS Response : %
Tomcat Response : 500 Error : java.lang.IllegalArgumentException: URLDecoder: Incomplete trailing escape (%) pattern. 

 I am uploading the test case Test.war for reference.


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.