My Oracle Support Banner

HttpServletRequest#getRequestURI() Returns Wrong Value When HttpDebug is Enabled (Doc ID 2522432.1)

Last updated on OCTOBER 02, 2024

Applies to:

Oracle WebLogic Server - Version 12.2.1.2.0 to 12.2.1.2.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

You can enable http debug option from admin console ( [Server] - [Debug], [weblogic.servlet.DebugHttp]).

When the option is enabled, HttpServletRequest#getRequestURI() returns different value as follows:

 

Example URL:

http://<HOST_NAME>:<PORT>/app/test.jsp;jsessionid=<JSESSIONID>

 

 

The value when HttpDebug=OFF is correct, jsessionid should not be considered as part of the URI.

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.