mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 09:08:20 +00:00
uri parsing complete
This commit is contained in:
parent
69ce4d3038
commit
ea79c07730
1 changed files with 0 additions and 6 deletions
|
@ -61,15 +61,9 @@ function decompose_uri(s: string): URI
|
|||
{
|
||||
parts = split1(opv[each], /=/);
|
||||
|
||||
# why does the order here matter?
|
||||
u$params_k[each] = parts[1];
|
||||
u$params_v[each] = parts[2];
|
||||
}
|
||||
else
|
||||
{
|
||||
# malformed URI
|
||||
# domain.tld/path/file.ext?foo&
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue