[Libreoffice-ux-advise] [Bug 125622] Add quotes parser to file Libreoffice Writer hyperlink dialog field

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Jun 3 11:50:49 UTC 2019


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

--- Comment #3 from Eike Rathke <erack at redhat.com> ---
I don't know why you ask me, but.. those quoted file paths copied from
clipboard seem to be a Windows-only problem. Other OS may use them as well (or
rather single-quoted in case they contain characters that with double quotes
could be interpreted by the shell) but don't copy them to the clipboard it
seems. Yet other mechanisms to quote i.e. spaces in file paths exist, like
/path/space\ here/file, and we certainly don't want to guess and mess around
with everything. Also, file names starting and/or ending with a quote character
are perfectly valid and in some cases removing them may be unwanted.

My suggestion would be to not mess around with this, or if then do it only for
Windows paths in a dumb manner that looks for "C:\..." (or any other drive
letter) and only then removes the quotes.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list