]
Jean-Frederic Clere resolved AS7-4478.
--------------------------------------
Resolution: Done
It is already fixed.
Non-absolute redirects when using AJP1.3 connector results in
undefined:// scheme being used for the Location header
--------------------------------------------------------------------------------------------------------------------
Key: AS7-4478
URL:
https://issues.jboss.org/browse/AS7-4478
Project: Application Server 7
Issue Type: Bug
Components: Web
Affects Versions: 7.1.1.Final
Reporter: Tuomas Jormola
Assignee: Jean-Frederic Clere
When you have a Apache httpd using mod_proxy_ajp in front of JBoss AS 7 and doing a
redirect in Java code by e.g. response.sendRedirect("/something"), the end
result is that user will see "Location: undefined://<...>/something"
header in the response, which of course is a big fail.
This bug has already been reported at
https://issues.jboss.org/browse/AS7-1227. The issue
has been marked as resolved with fix being in 7.1.0.CR1. However, this is not correct. The
issue was fixed in someone's private Github fork at
https://github.com/jfclere/jboss-as/commit/4a25bad9ff432e646f3dc6e6f220de....
However, this commit was never pulled to the upstream tree and thus the problem still
exists in the latest released version 7.1.1.Final. See
https://github.com/jbossas/jboss-as/blob/7.1.0.Final/web/src/main/java/or...
for 7.1.0.Final version of the troublesome piece of code. This code was refactored a bit
for 7.1.1.Final, but the root problem still persists, see
https://github.com/jbossas/jboss-as/blob/7.1.1.Final/web/src/main/java/or....
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: