[mod_accesslog] parse multiple cookies (fixes #2986)

(thx xoneca)

x-ref:
  "Cookie format specifier is broken"
  https://redmine.lighttpd.net/issues/2986
personal/stbuehler/ci-build
Glenn Strauss 3 years ago
parent fa8856757c
commit 330c39c694
  1. 2
      src/mod_accesslog.c

@ -1098,7 +1098,7 @@ REQUESTDONE_FUNC(log_access_write) {
buffer_free(bstr);
break;
} else {
do { ++str; } while (*str != ' ' && *str != '\t' && *str != '\0');
while (*str != ';' && *str != ' ' && *str != '\t' && *str != '\0') ++str;
}
while (*str == ' ' || *str == '\t') ++str;
} while (*str++ == ';');

Loading…
Cancel
Save