Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-24450

Unable to connect to WebDAV with URL containing spaces and symbols


    • Type: Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: 6.1.0 CE RC1
    • Fix Version/s: --Sprint 11/12, 6.2.0 CE M2
    • Component/s: DM, DM > WebDAV
    • Labels:
    • Environment:
      Tomcat 7.0.23 + MySQL 5. 6.1.x GIT ID: 8b66f08c29d71c98b46d3f7663fd5465d1ef6f11.
      Tomcat 7.0.23 + MySQL 5. 6.2.x GIT ID: cd320860f235b8aa7ba7365941d23379236d9e15.
    • Fix Priority:


      When the user connects to the WebDAV server, the URL containing any spaces or periods will not be permitted. Instead, the URL will accept the main root directory instead of the folder or document file found within it.

      Steps to reproduce:

      1. Add the Document Library portlet
      2. Add a New Folder
      3. Add Document File
      4. Click "Access from Desktop" and copy the URL address
      5. Map the URL address to access the folder
      6. Copy paste the word.doc into the WebDAV folder

      Unable to connect with the following:
      a) http://localhost:8080/api/secure/webdav/guest/document_library/Folder%201/wordfile.docx

      Able to connect with the following:
      b) http://localhost:8080/api/secure/webdav/guest/document_library/Folder1
      c) http://localhost:8080/api/secure/webdav/guest/document_library/

      7. Assert that the word.doc displays in the folder