[SHELL32] 'Run' dialog box should accept URL (#1153)
[reactos.git] / dll / win32 / shell32 / shlexec.cpp
index 09ccfec..6b7878d 100644 (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;