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

Fix ShellExecCmdLine function. CORE-15455, CORE-11772
This commit is contained in:
Katayama Hirofumi MZ 2018-12-17 22:37:51 +09:00 committed by GitHub
parent 5525c81b2f
commit c94ca8128d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;