]
Mike Millson updated JBWEB-181:
-------------------------------
Affects Version/s: JBossWeb-3.0.0.Beta7
(was: JBossWeb-2.1.7.GA)
Allow rewriting URLs for other contexts
---------------------------------------
Key: JBWEB-181
URL:
https://jira.jboss.org/browse/JBWEB-181
Project: JBoss Web
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Core
Affects Versions: JBossWeb-3.0.0.Beta7
Reporter: Mike Millson
Assignee: Mike Millson
Fix For: JBossWeb-3.0.0.Beta8
Attachments: JBWEB-181.patch, JSessionId.war.tar.gz
Line 1537 of o.a.c.c.Response.doIsEncodeable()[1] checks that the URL context matches the
webapp context:
if ((file == null) || !file.startsWith(contextPath))
return (false);
There are use cases where a URL would need to be rewritten but not be the same context as
the webapp. In addition, Weblogic apparently does not make this check, so it is an issue
migrating from Weblogic.
Can we remove this check, or add a flag where it can be configured to be removed?
[
1]http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossweb/branches/2.1.x/java...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: