<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 - Hyperlinks with Basic Auth (https://user:password@example.com/) get lost in PDF export"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=143216">143216</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Hyperlinks with Basic Auth (https://user:password@example.com/) get lost in PDF export
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>Linux (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>Printing and PDF export
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>myspampirm@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
When exporting documents including hyperlinks with HTTP basic authentication
credentials from any application (tested with Draw, Writer and Calc) to PDF,
the hyperlink gets lost and somehow points to local resources/paths which
cannot be found.

Steps to Reproduce:
1.Create a hyperlink in any document in the format of
<a href="http://username:password@example.com">http://username:password@example.com</a>
2. Open the link to confirm it is working by CTRL+clicking the link (this works
from within LibreOffice)
3. Export the document to PDF via File - Export as... - Export as PDF
4. Open the exported PDF
5. Try to open the hyperlink with basic auth credentials from within the PDF
viewer (tested: Okular, SumatraPDF under Wine)

Actual Results:
Either the PDF viewer says it can't find the specified local resource or opens
some random path in the file manager (in my case thunar)

Expected Results:
The link should be opened in the default web browser and try to log in to the
website requiring HTTP basic authentication using the provided credentials.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 7.1.4.2 / LibreOffice Community
Build ID: 10(Build:2)
CPU threads: 8; OS: Linux 5.12; UI render: default; VCL: gtk3
Locale: de-DE (de_DE.UTF-8); UI: de-DE
7.1.4-1
Calc: threaded</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>