HttpServletResponse.sendRedirect Character Encoding Issue In WebLogic Server 10.3.x: Redirects Fail

(Doc ID 1409745.1)

Last updated on NOVEMBER 05, 2016

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.


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