zeek/scripts
Frerich Raabe bb879fc2aa Fixed decompose_uri choking on URIs with empty port component
A call such as

  decompose_uri("git://git.kernel.org:/pub/scm/linux/");

would raise an error along the lines of

  error in /usr/local/zeek-3.0.0/share/zeek/base/utils/urls.zeek, line 122: bad conversion to count (to_count(parts[1]) and )

This was because an empty string got passsed to the to_count()
function.

Let's improve the behaviour and rather consider the portnum component
of the URI to be uninitialized.
2020-01-24 22:24:00 +01:00
..
base Fixed decompose_uri choking on URIs with empty port component 2020-01-24 22:24:00 +01:00
policy Use consistent zeek_init priority for Log::create_stream calls 2020-01-22 13:58:20 -08:00
site Stop loading scan detection in local.zeek by default 2019-09-16 10:51:50 -07:00
zeekygen Merge branch 'topic/jgras/dpd-late-match' of https://github.com/J-Gras/zeek 2019-09-17 11:17:41 -07:00
CMakeLists.txt Install test-all-policy.zeek script 2019-11-14 17:00:29 -08:00
test-all-policy.zeek Merge branch 'topic/jgras/dpd-late-match' of https://github.com/J-Gras/zeek 2019-09-17 11:17:41 -07:00