[Bro-Dev] [JIRA] (BIT-1404) decompose_uri() builtin throws errors on URIs with select parameters

Stephen Hosom (JIRA) jira at bro-tracker.atlassian.net
Fri May 29 08:04:00 PDT 2015


Stephen Hosom  created BIT-1404:
-----------------------------------

             Summary: decompose_uri() builtin throws errors on URIs with select parameters
                 Key: BIT-1404
                 URL: https://bro-tracker.atlassian.net/browse/BIT-1404
             Project: Bro Issue Tracker
          Issue Type: Problem
          Components: Bro
    Affects Versions: 2.4
            Reporter: Stephen Hosom 


URIs with odd query strings cause errors in reporter.log. 

For example:

local something = decompose_uri("dfasjdfasdfasdf?asd");

results in:

error in /usr/local/bro-master/share/bro/base/utils/urls.bro, line 79: no such index (parts[1])

http://try.bro.org/#/trybro/saved/8505 demonstrates a pretty alright example.



--
This message was sent by Atlassian JIRA
(v6.5-OD-04-052#65000)


More information about the bro-dev mailing list