My Oracle Support Banner

HttpServletResponse.sendRedirect Character Encoding Issue In WebLogic Server 10.3.x: Redirects Fail (Doc ID 1409745.1)

Last updated on NOVEMBER 14, 2022

Applies to:

Oracle WebLogic Server - Version 10.3 to 10.3.6
Information in this document applies to any platform.


When calling the method HttpServletResponse.sendRedirect() with WebLogic Server (WLS), special characters in the location parameter such as ñ, á, and é are wrongly encoding. This caused the redirect to fail.
For example, if the URL is supposed to redirect to "?msg=ñ", it is wrongly redirected to "?msg=%F1"


 In previous version of WebLogic Server (10.X), native encoding was specified with the file.encoding property which was per JVM.


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.