portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r1724906 - /portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/container/url/impl/AbstractPortalURL.java
Date Sat, 16 Jan 2016 01:01:50 GMT
Author: taylor
Date: Sat Jan 16 01:01:49 2016
New Revision: 1724906

URL: http://svn.apache.org/viewvc?rev=1724906&view=rev
Log:
remove any escaped scripts from URL (seems to only effect Firefox browser)

Modified:
    portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/container/url/impl/AbstractPortalURL.java

Modified: portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/container/url/impl/AbstractPortalURL.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/container/url/impl/AbstractPortalURL.java?rev=1724906&r1=1724905&r2=1724906&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/container/url/impl/AbstractPortalURL.java
(original)
+++ portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/container/url/impl/AbstractPortalURL.java
Sat Jan 16 01:01:49 2016
@@ -234,7 +234,7 @@ public abstract class AbstractPortalURL
 
     protected void setPath(String path)
     {
-        this.path = path;
+        this.path = path.replaceAll("['\"]", ""); // remove any escaped scripts from URL
(seems to only effect Firefox browser)
     }
 
     public String getBaseURL()



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message