[MAGNOLIA-322] spool servlet coughs on spaces Created: 21/Mar/05  Updated: 24/Mar/05  Resolved: 24/Mar/05

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: 2.1 Final
Fix Version/s: 2.1 Final

Type: Bug Priority: Major
Reporter: Boris Kraft Assignee: Sameer Charles
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

It seems that the spool servlet does only work on file names that do not contain spaces. As a workaround, set the server xml to use tomcat instead of the spool servlet. Simply add

<Context path="/magnolia/docroot" docBase="magnolia/docroot" debug="0"/>

in your server.xml (assuming that your context is "magnolia").

Of course this will circumvent access control on the docroot stuff.

  • Boris


 Comments   
Comment by Sameer Charles [ 24/Mar/05 ]

fixed on svn
http://svn.magnolia.info/svn/magnolia/trunk/src/main/info/magnolia/cms/util/Path.java

Generated at Mon Feb 12 03:16:17 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.