Uploaded image for project: 'WebDAV (closed)'
  1. WebDAV (closed)
  2. MGNLWEBDAV-15

Node names aren't validated before creation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.0
    • None
    • None

      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 MAGNOLIA-2098. (this happened while logged in as superuser)

        Acceptance criteria

              gjoseph Magnolia International
              gjoseph Magnolia International
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: