Skip to content

Commit 00a1f22

Browse files
katahiromzJoachimHenze
authored andcommitted
[0.4.11] [SHELL32] 'Run' dialog box should accept URL (reactos#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 c94ca81
1 parent 78cd626 commit 00a1f22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dll/win32/shell32/shlexec.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2414,7 +2414,7 @@ HRESULT WINAPI ShellExecCmdLine(
24142414
}
24152415
}
24162416

2417-
if (UrlIsFileUrlW(lpCommand))
2417+
if (PathIsURLW(lpCommand) || UrlIsW(lpCommand, URLIS_APPLIABLE))
24182418
{
24192419
StringCchCopyW(szFile, _countof(szFile), lpCommand);
24202420
pchParams = NULL;

0 commit comments

Comments
 (0)