From 2e599250947cee33db63618f7b76f70e0d55731f Mon Sep 17 00:00:00 2001 From: "Robert C. Maehl" Date: Fri, 6 Oct 2023 23:14:16 -0400 Subject: [PATCH] Fix #321 --- Includes/_URLModifications.au3 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Includes/_URLModifications.au3 b/Includes/_URLModifications.au3 index 4e0f44a..51517b3 100644 --- a/Includes/_URLModifications.au3 +++ b/Includes/_URLModifications.au3 @@ -312,6 +312,12 @@ Func _CMDLineDecode($sCMDLine) $sCMDLine = StringReplace($sCMDLine, "&&", "&") ;TODO: Add url= somehow if "url=" doesn't exist. Method= screws this up. + ;UPDATE: This broke command line flags HAHAHAHAHAHAHAHA + + If StringInStr($sCMDLine, "url=--") Then + $sCMDLine = StringSplit($sCMDLine, "url=", $STR_ENTIRESPLIT+$STR_NOCOUNT)[0] + $sCMDLine = StringTrimRight($sCMDLine, 1) + EndIf $aCMDLine_1D = StringSplit($sCMDLine, "&", $STR_NOCOUNT) Redim $aCMDLine_2D[UBound($aCMDLine_1D)][2]