Skip to content

Commit beec892

Browse files
committed
Added: Removing vertical whitespace chars that could break the algo.
1 parent a69d734 commit beec892

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WinHttp.au3

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1203,7 +1203,7 @@ Func _WinHttpSimpleFormFill(ByRef $hInternet, $sActionPage = Default, $sFormId =
12031203
$sForm = $aForm[$iFormOrdinal]
12041204
; Extract form attributes
12051205
$sAttributes = StringRegExp($sForm, "(?s)(.*?)>", 3)
1206-
If Not @error Then $sAttributes = $sAttributes[0]
1206+
If Not @error Then $sAttributes = StringRegExpReplace($sAttributes[0], "\v", " ")
12071207
Local $sAction = "", $sAccept = "", $sEnctype = "", $sMethod = "", $sName = "", $sId = ""
12081208
; Check set attributes
12091209
$sId = __WinHttpAttribVal($sAttributes, "id")

0 commit comments

Comments
 (0)