From 9ef376da1d8bb466871ab64c7ab64b1dcca4e248 Mon Sep 17 00:00:00 2001 From: Ground0 Date: Sun, 20 Feb 2022 13:45:32 +0100 Subject: [PATCH] If a Headerline has another : don't cut off there #6 --- inc/lweb_http.pbi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/lweb_http.pbi b/inc/lweb_http.pbi index 390d35d..ff836ef 100644 --- a/inc/lweb_http.pbi +++ b/inc/lweb_http.pbi @@ -109,7 +109,7 @@ EndIf For CountLines = 2 To Lines Working_Line = StringField(Working,CountLines,#CRLF$) - Header(LCase(Trim(StringField(Working_Line,1,":")))+":") = Trim(StringField(Working_Line,2,":")) + Header(LCase(Trim(StringField(Working_Line,1,":")))+":") = Trim(Mid(Working_Line, FindString(Working_Line, ":") + 1)) Next Else FreeMap(Header())