<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:xiscofauli@libreoffice.org" title="Xisco Faulí <xiscofauli@libreoffice.org>"> <span class="fn">Xisco Faulí</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - URL in unicode interpretate as file link"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=125041">bug 125041</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Keywords</td>
           <td>
                
           </td>
           <td>bibisected
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>sbergman@redhat.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - URL in unicode interpretate as file link"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=125041#c8">Comment # 8</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - URL in unicode interpretate as file link"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=125041">bug 125041</a>
              from <span class="vcard"><a class="email" href="mailto:xiscofauli@libreoffice.org" title="Xisco Faulí <xiscofauli@libreoffice.org>"> <span class="fn">Xisco Faulí</span></a>
</span></b>
        <pre>Doing something like this

--- a/sw/source/uibase/wrtsh/wrtsh2.cxx
+++ b/sw/source/uibase/wrtsh/wrtsh2.cxx
@@ -488,6 +488,16 @@ bool SwWrtShell::ClickToINetGrf( const Point& rDocPt,
LoadUrlFlags nFilter )
     return bRet;
 }

+
+static bool isAscii( const OUString& rStr )
+{
+    sal_Int32 nLen = rStr.getLength();
+    for( sal_Int32 i = 0; i < nLen; i++ )
+        if( rStr[i] > 127 )
+            return false;
+    return true;
+}
+
 void LoadURL( SwViewShell& rVSh, const OUString& rURL, LoadUrlFlags nFilter,
               const OUString& rTargetFrameName )
 {
@@ -501,7 +511,7 @@ void LoadURL( SwViewShell& rVSh, const OUString& rURL,
LoadUrlFlags nFilter,

     OUString sFileURL = rURL;
     INetURLObject aURL( sFileURL );
-    if( aURL.GetProtocol() == INetProtocol::NotValid &&
!sFileURL.startsWith("#") )
+    if( isAscii(sFileURL) && aURL.GetProtocol() == INetProtocol::NotValid &&
!sFileURL.startsWith("#") )

could fix the issue, however, the real fix should be done in INetURLObject so
it accepts non-ascii characters in the host as a valid URL.

@Stephan, I thought you might be interested in this issue...</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>