office-gobmx/shell
Stephan Bergmann bee9f15317 Clean up computation of preprocessed_command passed to ShellExecuteExW
* In the URIS_ONLY case (which is intended to open documents etc.), set
  preprocessed_command to the filesystem pathname the first time that is
  computed (and which will no longer fail for file URLs with fragment since
  14b36a16b2 "Remove a fragment from a file URL
  early on").

* In the !URIS_ONLY case (which is intended to run other programs), we will
  generally be called with aCommand already being a filesystem pathname.  But
  even if it should be a file URL, it appears to be OK to pass that as-is to
  ShellExecuteExW:  At least on Windows 8, passing
  "file:///C:/Windows/System32/notepad.exe" does start it.

* The code for <https://bz.apache.org/ooo/show_bug.cgi?id=4789> "Hyperlinks
  doesnt works" should no longer be relevant:  In the URIS_ONLY case, any
  fragment (called a "jump mark" in that code) has already been removed from the
  incoming URL now.  In the !URIS_ONLY case, we should generally not be called
  with a URL with a fragment, but even if we are, it should be OK to pass that
  as-is to ShellExecuteExW and let it handle that (see above).

* Similarly, the code for
  <https://bugs.documentfoundation.org/show_bug.cgi?id=54204> "Hyperlinks
  between documents not works if link contains anchor at the end" is no longer
  relevant for the same reason.

Change-Id: Ia6ec80a30f6d0603bccc87b9d6dd93ca6a84c370
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86975
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-01-17 16:08:50 +01:00
..
inc
qa/zip
source Clean up computation of preprocessed_command passed to ShellExecuteExW 2020-01-17 16:08:50 +01:00
AllLangMoTarget_shell.mk
CppunitTest_shell_zip.mk
CustomTarget_shlxthdl_res.mk
CustomTarget_spsupp_idl.mk
CustomTarget_x64.mk
Executable_lngconvex.mk
Executable_regsvrex.mk
Executable_senddoc.mk
Executable_spsupp_helper.mk
Executable_uri_encode.mk
Library_cmdmail.mk
Library_desktopbe.mk
Library_kf5be.mk
Library_localebe.mk
Library_losessioninstall.mk
Library_macbe.mk
Library_ooofilt.mk
Library_ooofilt_x64.mk
Library_propertyhdl.mk
Library_propertyhdl_x64.mk
Library_shlxthdl.mk
Library_shlxthdl_x64.mk
Library_smplmail.mk
Library_spsupp_x64.mk
Library_spsupp_x86.mk
Library_syssh.mk
Library_wininetbe.mk
Makefile
Module_shell.mk
Package_senddoc.mk
README
StaticLibrary_shlxthandler_common.mk
StaticLibrary_shlxthandler_common_x64.mk
StaticLibrary_xmlparser.mk
StaticLibrary_xmlparser_x64.mk
WinResTarget_shlxthdl.mk
WinResTarget_spsupp.mk
WinResTarget_spsupp_dlg.mk

System helpers - launching URI, system integration, external mailer support etc.