<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Run as vnd.libreoffice.command - OfficeURI is not "URL decoded" and LO does not start"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=116395">116395</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Run as vnd.libreoffice.command - OfficeURI is not "URL decoded" and LO does not start
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.0.2.1 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>vladimir.domes@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
>From Internet Explorer new soffice.exe process is created with argument like:
"vnd.libreoffice.command:ofv|u|<a href="https://someweb.com:888/webdav/Test.odt">https://someweb.com:888/webdav/Test.odt</a>".

But from Chrome, argument is encoded like:
"vnd.libreoffice.command:ofv%7Cu%7Chttps://someweb.com:888/webdav/Test.odt"
and soffice.exe process ends immediately.

I think, that in cmdlineargs.cxx class
(libreoffice/core/tree/desktop/source/app/cmdlineargs.cxx) there should be some
URL decoding or simply replacing "%7C" with "|".

Conversion should be after this condition:

if (!isOfficeURI)
        return curEvt;

Steps to Reproduce:
Open document on WebDAV server from Chrome.

Actual Results:  
LibreOffice does not start.

Expected Results:
LibreOffice opens specified document.


Reproducible: Always


User Profile Reset: No



Additional Info:
Verze: 6.0.2.1 (x64)
ID sestavení: f7f06a8f319e4b62f9bc5095aa112a65d2f3ac89
Vlákna CPU: 4; OS: Windows 10.0; Vykreslování UI: výchozí; 
Národní prostředí: cs-CZ (cs_CZ); Calc: group


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101
Firefox/58.0</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>