From 30c6862b2a802128089da26e8acfc22706ef3482 Mon Sep 17 00:00:00 2001 From: Florian Engelhardt Date: Fri, 9 Sep 2022 09:41:58 +0200 Subject: [PATCH 1/3] docs: add `FILTER_FLAG_GLOBAL_RANGE` documentation --- reference/filter/filters.xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/reference/filter/filters.xml b/reference/filter/filters.xml index ecbfec7bef46..93b9f5ff3a5b 100644 --- a/reference/filter/filters.xml +++ b/reference/filter/filters.xml @@ -148,6 +148,7 @@ FILTER_FLAG_IPV6, FILTER_FLAG_NO_PRIV_RANGE, FILTER_FLAG_NO_RES_RANGE, + FILTER_FLAG_GLOBAL_RANGE, FILTER_NULL_ON_FAILURE @@ -739,6 +740,19 @@ filter.default_flags = 0 + + FILTER_FLAG_GLOBAL_RANGE + + FILTER_VALIDATE_IP + + + + Fails validation for non global IPv4/IPv6 ranges as found in + RFC 6890 with the + Global attribute being False. + + + FILTER_FLAG_SCHEME_REQUIRED From ddd0ebe6421d37986fa01e4f6b65c3b68dc2e9d2 Mon Sep 17 00:00:00 2001 From: Florian Engelhardt Date: Mon, 12 Sep 2022 10:55:32 +0200 Subject: [PATCH 2/3] docs: added changelog entry for `FILTER_FLAG_GLOBAL_RANGE` --- reference/filter/filters.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/reference/filter/filters.xml b/reference/filter/filters.xml index 93b9f5ff3a5b..70443ccc5c86 100644 --- a/reference/filter/filters.xml +++ b/reference/filter/filters.xml @@ -831,6 +831,13 @@ filter.default_flags = 0 + + 8.2.0 + + FILTER_FLAG_GLOBAL_RANGE as a flag to + FILTER_VALIDATE_IP has been added. + + 7.3.0 From a1ca5cf3eb5a9ee234913053d6c4e7b95ff5f5dc Mon Sep 17 00:00:00 2001 From: Florian Engelhardt Date: Mon, 12 Sep 2022 11:58:58 +0200 Subject: [PATCH 3/3] docs: add some markup Co-authored-by: Christoph M. Becker --- reference/filter/filters.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/filter/filters.xml b/reference/filter/filters.xml index 70443ccc5c86..6a9f95495853 100644 --- a/reference/filter/filters.xml +++ b/reference/filter/filters.xml @@ -749,7 +749,7 @@ filter.default_flags = 0 Fails validation for non global IPv4/IPv6 ranges as found in RFC 6890 with the - Global attribute being False. + Global attribute being False.