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

2018-10-05 Thread jler...@apache.org

Please feel free if you see a better way

Jacques


Le 05/10/2018 à 16:25, Taher Alkhateeb a écrit :

This workaround looks ugly, can't we relocate this URL?
On Fri, Oct 5, 2018 at 5:22 PM  wrote:

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.
  
org.apache.ofbiz.webapp.control.ControlFilter
  
  allowedPaths
-
/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images
+
/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/CALENDAR_PUB_DEMO
  
  
  redirectPath




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

2018-10-05 Thread Taher Alkhateeb
This workaround looks ugly, can't we relocate this URL?
On Fri, Oct 5, 2018 at 5:22 PM  wrote:
>
> 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.
>  
> org.apache.ofbiz.webapp.control.ControlFilter
>  
>  allowedPaths
> -
> /error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images
> +
> /error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/CALENDAR_PUB_DEMO
>  
>  
>  redirectPath
>
>