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.
This commit is contained in:
Robin Sommer 2019-10-28 09:17:15 +00:00
commit 9d7c9f37d4
5 changed files with 42 additions and 3 deletions

View file

@ -0,0 +1,4 @@
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