[MGNLWEBDAV-15] Node names aren't validated before creation Created: 28/Oct/09 Updated: 02/Dec/13 Resolved: 09/Nov/09 |
|
| Status: | Closed |
| Project: | WebDAV (closed) |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Magnolia International | Assignee: | Magnolia International |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Template: |
|
||||||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||||||
| Description |
|
When trying to create a folder with non-ascii characters (from a fs-mounted WebDAV), pascaläöü in this case: 2009-10-27 19:16:59,826 INFO info.magnolia.cms.beans.config.MIMEMapping : Cannot find MIME type for extension "_pascale%CC%80u%CC%88" 2009-10-27 19:17:00.416::WARN: /magnolia-snapshot-demo/.webdav/resources/folders/ java.lang.RuntimeException: info.magnolia.cms.security.AccessDeniedException: User not allowed to Read path [/folders/pascale?u?] at info.magnolia.module.webdav.LocatorFactory.getResourcePath(LocatorFactory.java:76) at org.apache.jackrabbit.webdav.AbstractLocatorFactory.createResourceLocator(AbstractLocatorFactory.java:170) at org.apache.jackrabbit.webdav.simple.DavResourceImpl.getMembers(DavResourceImpl.java:564) at org.apache.jackrabbit.webdav.MultiStatus.addResourceProperties(MultiStatus.java:64) at org.apache.jackrabbit.webdav.server.AbstractWebdavServlet.doPropFind(AbstractWebdavServlet.java:447) at org.apache.jackrabbit.webdav.server.AbstractWebdavServlet.execute(AbstractWebdavServlet.java:235) The exception reminds of |
| Comments |
| Comment by Magnolia International [ 09/Nov/09 ] |
|
Since we can't rename nodes "on the fly" like we do in the AdminCentral tree (at least not without digging much further in the Jackrabbit WebDAV code and the protocol), the only option is currently to prohibit such names. |