Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
13.4.5
-
None
-
Unknown
-
Description
When using short URLs using Tuckey's UrlRewriteFilter, the upload action does not work properly, as reported in XWIKI-19444. A workaround consists in mapping explicitely /upload/* URLs to the XWiki Action Servlet by adding the configuration below to web.xml. This workaround (or other ones listed in XWIKI-19444 but which have downsides) is needed due to a change in the way Tomcat 9 handles requests compared to Tomcat 8, as described in this comment by vmassol. This issue is about alleviating the need of this workaround.
<servlet-mapping> <servlet-name>action</servlet-name> <url-pattern>/upload/*</url-pattern> </servlet-mapping>
Attachments
Issue Links
- relates to
-
XWIKI-19444 Uploading an attachment fails when using short URLs
- Closed