From 416b9e9bdb397c47bfadcf1a11669e0239942848 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Fri, 24 Sep 2021 17:56:13 +0200 Subject: [PATCH] Fix #68296: \n in path with parse_url() converts to underscore --- reference/url/functions/parse-url.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/reference/url/functions/parse-url.xml b/reference/url/functions/parse-url.xml index e7766550c9..1bd7312bd7 100644 --- a/reference/url/functions/parse-url.xml +++ b/reference/url/functions/parse-url.xml @@ -120,6 +120,10 @@ instead of an array. If the requested component doesn't exist within the given URL, &null; will be returned. + + Note that control characters (cf. ctype_cntrl) in the + components are replaced with underscores (_). +