https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c94ca8128d7c93f3d513a…
commit c94ca8128d7c93f3d513a9d9ff2f9605c9523c13
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Mon Dec 17 22:37:51 2018 +0900
Commit: GitHub <noreply(a)github.com>
CommitDate: Mon Dec 17 22:37:51 2018 +0900
[SHELL32] 'Run' dialog box should accept URL (#1153)
Fix ShellExecCmdLine function. CORE-15455, CORE-11772
---
dll/win32/shell32/shlexec.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dll/win32/shell32/shlexec.cpp b/dll/win32/shell32/shlexec.cpp
index 09ccfec0a3..6b7878d6f2 100644
--- a/dll/win32/shell32/shlexec.cpp
+++ b/dll/win32/shell32/shlexec.cpp
@@ -2414,7 +2414,7 @@ HRESULT WINAPI ShellExecCmdLine(
}
}
- if (UrlIsFileUrlW(lpCommand))
+ if (PathIsURLW(lpCommand) || UrlIsW(lpCommand, URLIS_APPLIABLE))
{
StringCchCopyW(szFile, _countof(szFile), lpCommand);
pchParams = NULL;