Skip to content

Commit 91ea998

Browse files
committed
Support HTTPS in MyShellExecute
1 parent 3b624da commit 91ea998

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Shared/sdk/SharedUtil.Misc.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -974,7 +974,7 @@ static bool MyShellExecute(bool bBlocking, const SString& strAction, const SStri
974974
SString strFile = strInFile;
975975
SString strParameters = strInParameters;
976976

977-
if (strAction == "open" && strFile.BeginsWithI("http://") && strParameters.empty())
977+
if (strAction == "open" && (strFile.BeginsWithI("http://") || strFile.BeginsWithI("https://")) && strParameters.empty())
978978
{
979979
strParameters = "url.dll,FileProtocolHandler " + strFile;
980980
strFile = "rundll32.exe";

0 commit comments

Comments
 (0)