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

Mike Kaganski <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Mike Kaganski <[email protected]> ---
A small correction: ".." is not a wildcard, but a relative path element.

(In reply to joesch04 from comment #0)
> Since LO 7.x, paths with wildcards are no longer processed correctly by
> "com.sun.star.system.SystemShellExecute".

In fact, this is not true. The URL is passed unchanged to the ShellExecuteExW,
and this is the limitation of *system* call that it disallows the relative
parts in the URL.

IMO this is NOTABUG, and was working previously just by accident, because
LibreOffice had pre-processed the URL (and that was wrong, since the idea
behind XSystemShellExecute::execute is pass the argument to system shell
unchanged).

The author of the extension (Jorg) likely should use a call to ConvertFromURL
[1] and pass the system path to the execute() call, which would succeed.

Stephan could correct me if I am wrong here; adding him to CC.

[1] https://help.libreoffice.org/latest/en-US/text/sbasic/shared/03120313.html

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to