fix: some parts of the URL can be repeated such as resource path, anchor...

multiple flag added to the potential part to be repeated.

following a discussion in Gitter with @makflwana
pull/92/head
Alexandre Dulaunoy 2018-03-15 09:38:53 +01:00
parent 4ed961f5e6
commit f7f0a88838
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 7 additions and 4 deletions

View File

@ -6,7 +6,8 @@
"fragment": { "fragment": {
"description": "Fragment identifier is a short string of characters that refers to a resource that is subordinate to another, primary resource.", "description": "Fragment identifier is a short string of characters that refers to a resource that is subordinate to another, primary resource.",
"ui-priority": 0, "ui-priority": 0,
"misp-attribute": "text" "misp-attribute": "text",
"multiple": true
}, },
"tld": { "tld": {
"description": "Top-Level Domain", "description": "Top-Level Domain",
@ -42,12 +43,14 @@
"resource_path": { "resource_path": {
"description": "Path (between hostname:port and query)", "description": "Path (between hostname:port and query)",
"ui-priority": 0, "ui-priority": 0,
"misp-attribute": "text" "misp-attribute": "text",
"multiple": true
}, },
"query_string": { "query_string": {
"description": "Query (after path, preceded by '?')", "description": "Query (after path, preceded by '?')",
"ui-priority": 0, "ui-priority": 0,
"misp-attribute": "text" "misp-attribute": "text",
"multiple": true
}, },
"url": { "url": {
"description": "Full URL", "description": "Full URL",
@ -92,7 +95,7 @@
"misp-attribute": "hostname" "misp-attribute": "hostname"
} }
}, },
"version": 5, "version": 6,
"description": "url object describes an url along with its normalized field (like extracted using faup parsing library) and its metadata.", "description": "url object describes an url along with its normalized field (like extracted using faup parsing library) and its metadata.",
"meta-category": "network", "meta-category": "network",
"uuid": "60efb77b-40b5-4c46-871b-ed1ed999fce5", "uuid": "60efb77b-40b5-4c46-871b-ed1ed999fce5",