[0.4.11] [SHELL32] 'Run' dialog box should accept URL (#1153)

Fix ShellExecCmdLine function. CORE-15455, CORE-11772
CORE-11772 mentioned it was a regression.

cherry picked from commit 0.4.12-dev-93-g
c94ca8128d
This commit is contained in:
Katayama Hirofumi MZ 2018-12-17 22:37:51 +09:00 committed by Joachim Henze
parent 78cd6265d9
commit 00a1f2214f

View file

@ -2414,7 +2414,7 @@ HRESULT WINAPI ShellExecCmdLine(
}
}
if (UrlIsFileUrlW(lpCommand))
if (PathIsURLW(lpCommand) || UrlIsW(lpCommand, URLIS_APPLIABLE))
{
StringCchCopyW(szFile, _countof(szFile), lpCommand);
pchParams = NULL;