.cosmetics

This commit is contained in:
Mirek Fidler 2026-08-17 11:24:28 +02:00
parent aad97013e7
commit 77b1be7f47

View file

@ -592,11 +592,11 @@ bool HttpHeader::ParseSCGI(const String& scgi_hdr)
// the query string, use it exactly as provided. Otherwise, if we have
// a query_string, append it with the '?' separator.
if(uri.Find('?') >= 0 || qs.IsEmpty())
f2 = uri;
else
f2 = uri + '?' + qs;
if(uri.Find('?') >= 0 || qs.IsEmpty())
f2 = uri;
else
f2 = uri + '?' + qs;
first_line = f1 + ' ' + f2 + ' ' + f3;
if(!IsNull(content_length) && content_length && fields.Find("content-length") < 0)
fields.Add("content-length", AsString(content_length));