https://bugs.freedesktop.org/show_bug.cgi?id=69462

Qubit <qu...@runcibility.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW
            Version|4.1.1.2 release             |3.5.7.2 release

--- Comment #9 from Qubit <qu...@runcibility.com> ---
(In reply to comment #8)
> But if I replace your URL by this one : 
> 
> http://2013-10-08 CR réunion d'organisation Patrick Frédéric Denis (DP).pdf
> 
> I get the error message I mentioned in comment #1.
> 
> And if I remove the single quote, the problem disappears.

Hi Denis,

Based on my testing I get some mixed results. I can't trigger an error message,
but it looks like the URL isn't always properly passed to the browser.


(Testing on
Ubuntu 12.04.3
LO 4.1.2.3 and LO 3.5.7.2
FF 24
Chromium 28.0.1500.71
)

Steps:
1) Open LibreOffice Writer
2) Select from the Menu: Insert -> Hyperlink
3) Use a URL with an apostrophe in it for the 'Target':

(A) http://bla.blah'doo.com
(B) http://2013-10-08 CR réunion d'organisation Patrick Frédéric Denis (DP).pdf

4) Put "Test Me" into the 'Text' field
5) Click 'Apply' and then 'Close'
6) Try to open the resulting URL using Ctrl-click

RESULT (A): A browser window will open and will show the URL in the Address bar
(note that Chromium will percent-encode the URL):
FF: http://bla.blah'doo.com/
Chromium: http://bla.blah%27doo.com/

Both browsers warn than they were unable to access the website/server.

RESULT (B): A browser window will open, but will show the home page. The
specified URL will not be present in the Address bar  (Same behavior observed
when FF/Chromium is set as the Default Browser).


IS THE URL LEGAL?
In doing some research, I ran across this bug (which will provide you with more
information than you probably ever wanted to know about apostrophes in URLs):
https://bugzilla.mozilla.org/show_bug.cgi?id=407172

I believe that the URLs above are legal per the RFCs mentioned in the Mozilla
bug report above.

TRIAGE:
Some hyperlinks fail to open properly in browser, so this bug is valid:
Changing status 'NEEDINFO' -> 'NEW'.

Bug present in 3.5.7.2, which is older than 4.1.1.2, so rolling the version
field back.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to