svn commit: r1842921 - /ofbiz/ofbiz-framework/trunk/applications/workeffort/webapp/ical/WEB-INF/web.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1842921 - /ofbiz/ofbiz-framework/trunk/applications/workeffort/webapp/ical/WEB-INF/web.xml

jleroux@apache.org
Author: jleroux
Date: Fri Oct  5 14:22:15 2018
New Revision: 1842921

URL: http://svn.apache.org/viewvc?rev=1842921&view=rev
Log:
Fixed: The query iCalendar/CALENDAR_PUB_DEMO/ no longer work
(OFBIZ-10595)

ControlFilter does not allow the untypical iCalendar/CALENDAR_PUB_DEMO/ query
to pass.
I have not checked deep, but since R13 works I believe it's due to OFBIZ-6760
where ControlFilter was added. Then CALENDAR_PUB_DEMO/ is considered a
[Filtered request] and the whole iCalendar process in Thunderbird Calendar is
broken

Thanks:  Jyri Sillanpaa for the detailled report

Modified:
    ofbiz/ofbiz-framework/trunk/applications/workeffort/webapp/ical/WEB-INF/web.xml

Modified: ofbiz/ofbiz-framework/trunk/applications/workeffort/webapp/ical/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/workeffort/webapp/ical/WEB-INF/web.xml?rev=1842921&r1=1842920&r2=1842921&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/workeffort/webapp/ical/WEB-INF/web.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/workeffort/webapp/ical/WEB-INF/web.xml Fri Oct  5 14:22:15 2018
@@ -44,7 +44,7 @@ under the License.
         <filter-class>org.apache.ofbiz.webapp.control.ControlFilter</filter-class>
         <init-param>
             <param-name>allowedPaths</param-name>
-            <param-value>/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images</param-value>
+            <param-value>/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/CALENDAR_PUB_DEMO</param-value>
         </init-param>
         <init-param>
             <param-name>redirectPath</param-name>