* 'master' of https://github.com/progmboy/zeek:
  fix http AUTHORIZATION base64 decode failed

Added a test during merge.

(cherry picked from commit b18122da08)
This commit is contained in:
Arne Welzel 2023-06-27 18:17:40 +02:00 committed by Tim Wojtulewicz
parent 03b4a04b8d
commit 4ae02b7973
4 changed files with 20 additions and 1 deletions

View file

@ -0,0 +1,8 @@
# Authorization: Basic is followed by two spaces rather than one.
#
# @TEST-EXEC: zeek -b -Cr $TRACES/http/basic-auth-with-extra-space.trace %INPUT
# @TEST-EXEC: btest-diff http.log
@load base/protocols/http
redef HTTP::default_capture_password = T;