[Libreoffice-bugs] [Bug 129899] hyperlink() not working
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Thu Jan 9 06:09:53 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=129899
Mike Kaganski <mikekaganski at hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |NOTABUG
Status|UNCONFIRMED |RESOLVED
CC| |sbergman at redhat.com
--- Comment #1 from Mike Kaganski <mikekaganski at hotmail.com> ---
I don't think it's a bug. "#" has a special meaning in URLs, separating
fragment [1]; so a relative url like "./Test#File.doc" means "open "Test" in
current document's location, and navigate to "File.doc" fragment inside it". I
suppose it's not what you want.
The correct way to do this is
=HYPERLINK("./" & ENCODEURL("Test#File.doc"))
[1] https://tools.ietf.org/html/rfc3986#section-3.5
Closing NOTABUG; if you disagree and want to return back to UNCONFIRMED, please
don't forget to describe your opinion in details. Thanks!
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200109/51cec386/attachment.htm>
More information about the Libreoffice-bugs
mailing list