--- parser3/src/main/pa_http.C 2021/12/22 21:52:49 1.120 +++ parser3/src/main/pa_http.C 2024/03/11 21:12:53 1.122 @@ -1,8 +1,8 @@ /** @file Parser: http support functions. - Copyright (c) 2001-2020 Art. Lebedev Studio (http://www.artlebedev.com) - Author: Alexandr Petrosian (http://paf.design.ru) + Copyright (c) 2001-2023 Art. Lebedev Studio (http://www.artlebedev.com) + Authors: Konstantin Morshnev , Alexandr Petrosian */ #include "pa_http.h" @@ -14,7 +14,7 @@ #include "pa_vfile.h" #include "pa_random.h" -volatile const char * IDENT_PA_HTTP_C="$Id: pa_http.C,v 1.120 2021/12/22 21:52:49 moko Exp $" IDENT_PA_HTTP_H; +volatile const char * IDENT_PA_HTTP_C="$Id: pa_http.C,v 1.122 2024/03/11 21:12:53 moko Exp $" IDENT_PA_HTTP_H; // defines @@ -551,7 +551,8 @@ static ArrayString* parse_cookie(Request if(first_pair) { // name + value name=sname; - value=smeaning; + if(smeaning) + value=smeaning; first_pair=false; } else { const String& slower=sname->change_case(r.charsets.source(), String::CC_LOWER);