Backport !3160 “GWin32AppInfo: Check for local file path first” to glib-2-74
When launching a registered handler we compose the command-line string using the registered command-line template. Applications expect files in their command-line as local paths rather than complete URI strings.
For example,
"Program.exe" "%2.58"
Should expand to
"Program.exe" "C:\file.dat"
Rather than
"Program.exe" "file:///C:\file.dat"
Fixes #2843 (closed)
Trivial backport of !3160 (merged) to glib-2-74
.