note 128462 added to function.filter-var
| From: | GuySartorelli at main dot php dot net | Date: | Mon, 08 May 2023 03:06:53 +0000 |
| Subject: | note 128462 added to function.filter-var | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-220417@lists.php.net to get a copy of this message | ||
Note that filter_var() with FILTER_VALIDATE_URL uses RFC2396 which is obsolete. This means it treats
some currently valid characters (such as "_") as being invalid.
In many cases it may be more beneficial to use php parse_url() which uses RFC3986 which is what is
currently in effect.
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.13.130 (proxied: 14.1.35.58)
----
Manual Page -- https://php.net/manual/en/function.filter-var.php
Edit -- https://main.php.net/note/edit/128462
Del: integrated -- https://main.php.net/note/delete/128462/integrated
Del: useless -- https://main.php.net/note/delete/128462/useless
Del: bad code -- https://main.php.net/note/delete/128462/bad+code
Del: spam -- https://main.php.net/note/delete/128462/spam
Del: non-english -- https://main.php.net/note/delete/128462/non-english
Del: in docs -- https://main.php.net/note/delete/128462/in+docs
Del: other reasons-- https://main.php.net/note/delete/128462
Reject -- https://main.php.net/note/reject/128462
Search -- https://main.php.net/manage/user-notes.php