Author: jfrederic.clere(a)jboss.com
Date: 2008-09-23 04:45:30 -0400 (Tue, 23 Sep 2008)
New Revision: 790
Modified:
trunk/java/org/jboss/web/rewrite/Substitution.java
trunk/webapps/docs/changelog.xml
Log:
Fix for JBWEB-122 (Thanks Vicky).
Modified: trunk/java/org/jboss/web/rewrite/Substitution.java
===================================================================
--- trunk/java/org/jboss/web/rewrite/Substitution.java 2008-09-22 16:52:37 UTC (rev 789)
+++ trunk/java/org/jboss/web/rewrite/Substitution.java 2008-09-23 08:45:30 UTC (rev 790)
@@ -202,10 +202,10 @@
((ServerVariableEnvElement) newElement).key =
sub.substring(colon + 1, close);
} else if (type.equals("SSL")) {
newElement = new ServerVariableSslElement();
- ((ServerVariableEnvElement) newElement).key =
sub.substring(colon + 1, close);
+ ((ServerVariableSslElement) newElement).key =
sub.substring(colon + 1, close);
} else if (type.equals("HTTP")) {
newElement = new ServerVariableHttpElement();
- ((ServerVariableEnvElement) newElement).key =
sub.substring(colon + 1, close);
+ ((ServerVariableHttpElement) newElement).key =
sub.substring(colon + 1, close);
} else {
throw new IllegalArgumentException(sub + ": Bad type:
" + type);
}
Modified: trunk/webapps/docs/changelog.xml
===================================================================
--- trunk/webapps/docs/changelog.xml 2008-09-22 16:52:37 UTC (rev 789)
+++ trunk/webapps/docs/changelog.xml 2008-09-23 08:45:30 UTC (rev 790)
@@ -61,6 +61,13 @@
</fix>
</changelog>
</subsection>
+ <subsection name="Others">
+ <changelog>
+ <fix>
+ <jboss-jira>JBWEB-122</jboss-jira>: Fix exception when using SSL and
HTTP variables. (jfclere)
+ </fix>
+ </changelog>
+ </subsection>
</section>
<section name="JBoss Web 2.1.1.CR7 (remm)">
Show replies by date