Skip to content

Commit

Permalink
Merge pull request #336 from rcmaehl/rcmaehl-patch-1
Browse files Browse the repository at this point in the history
Actually fix flags being passed as websites
  • Loading branch information
rcmaehl authored Nov 16, 2023
2 parents 1bc43b1 + 51fae68 commit a62e2d6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions MSEdgeRedirect.au3
Original file line number Diff line number Diff line change
Expand Up @@ -540,8 +540,12 @@ Func _DecodeAndRun($sEdge = $aEdges[1], $sCMDLine = "")
Local $aCMDLine

Select
Case StringLeft($sCMDLine, 2) = "--" And _GetSettingValue("RunUnsafe")
_SafeRun($sEdge, $sCMDLine)
Case StringLeft($sCMDLine, 2) = "--"
If _GetSettingValue("RunUnsafe") Then
_SafeRun($sEdge, $sCMDLine)
Else
FileWrite($hLogs[$AppSecurity], _NowCalc() & " - " & "Blocked Unsafe Flag: " & $sCMDLine & @CRLF)
EndIf
Case StringInStr($sCMDLine, "--default-search-provider=?")
FileWrite($hLogs[$URIFailures], _NowCalc() & " - Skipped Settings URL: " & $sCMDLine & @CRLF)
Case StringInStr($sCMDLine, "profiles_settings")
Expand Down

0 comments on commit a62e2d6

Please sign in to comment.