zeek/testing/btest/Baseline/scripts.base.protocols.http.build-url/output
Robin Sommer 9d7c9f37d4 Merge branch 'Fix_http_build_url' of ssh://github.com/Olerdrive/zeek
I changed the format string of the port to %d and added a test.
2019-10-28 09:32:32 +00:00

4 lines
400 B
Text

Have: 192.150.187.43/download/CHANGES.bro-aux.txt Expected: 192.150.187.43/download/CHANGES.bro-aux.txt -> SUCCESS
Have: 192.150.187.43:123/download/CHANGES.bro-aux.txt Expected: 192.150.187.43:123/download/CHANGES.bro-aux.txt -> SUCCESS
Have: 192.150.187.43:123/ Expected: 192.150.187.43:123/ -> SUCCESS
Have: http://proxied.host/some/document Expected: http://proxied.host/some/document -> SUCCESS