https://bugs.documentfoundation.org/show_bug.cgi?id=115236

Stephan Bergmann <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #7 from Stephan Bergmann <[email protected]> ---
(In reply to UbunLibOffImp from comment #0)
> c] Impress should never strip out "." character when used as the first
> character in a relative link in a *.odp that is exported to type *.svg
> (example [c] = Insert > Link type > DOCUMENT > DOCUMENT PATH:
> "file://./subdirectory/file.xyz")
> (result  [c] = when the *.svg is opened in above listed web browser,
> hyperlink becomes "file:///subdirectory/file.svg" and is dead since it is
> not resolved correctly)

(<file://./subdirectory/file.xyz> is not a relative URL.  It is an absolute
file URL whose authority component is a host denoting the registered name ".";
whatever that is supposed to mean semantically.)

I cannot reproduce this claim of LO stripping out ".":  The resulting svg file
contains the exact text "file://./subdirectory/file.xyz" eight times.  It does
not contain "subdirectory" in any other place (i.e., it does not also contain
the text "file:///subdirectory/file.xyz" or something similar), which could
indicate that LO does garble the specified <file://./subdirectory/file.xyz> URL
when exporting to svg.

(When I open that svg file in Firefox, following the link makes it indeed try
to open <file:///subdirectory/file.xyz>, dropping the "." host.  But that
appears to be an issue of Firefox.  In its inspector window, one still sees

> <a 
> xlink:href="file://./subdirectory/file.xyz">file://./subdirectory/file.x</a>

as the source of the link.)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to