1
0
mirror of https://github.com/php/php-src.git synced 2026-04-22 15:38:49 +02:00
Christoph M. Becker 2d3d72412a Fix #77423: parse_url() will deliver a wrong host to user
To avoid that `parse_url()` returns an erroneous host, which would be
valid for `FILTER_VALIDATE_URL`, we make sure that only userinfo which
is valid according to RFC 3986 is treated as such.

For consistency with the existing url parsing code, we use ctype
functions, although that is not necessarily correct.
2021-01-01 20:08:01 -08:00
2019-05-31 20:49:42 +02:00
2018-10-20 09:51:22 +02:00
2020-09-30 07:36:59 +02:00
2020-09-26 23:47:04 -07:00
2019-08-06 17:25:54 +02:00
2019-05-09 16:54:11 +02:00
2019-08-27 13:34:35 +02:00
2018-10-19 00:07:42 +02:00
2018-10-20 09:51:22 +02:00
2016-11-12 11:20:01 +01:00
2020-09-30 07:36:59 +02:00
2017-04-02 13:45:08 +02:00
2018-01-02 12:55:14 +08:00
2016-04-05 12:13:38 +02:00
2018-10-20 09:51:22 +02:00
2020-09-30 07:36:59 +02:00
2020-09-28 21:38:43 -07:00
2016-08-11 08:08:26 +09:00

The PHP Interpreter

This is the github mirror of the official PHP repository located at http://git.php.net.

Build Status Build status

Pull Requests

PHP accepts pull requests via github. Discussions are done on github, but depending on the topic can also be relayed to the official PHP developer mailing list internals@lists.php.net.

New features require an RFC and must be accepted by the developers. See https://wiki.php.net/rfc and https://wiki.php.net/rfc/voting for more information on the process.

Bug fixes do not require an RFC, but require a bugtracker ticket. Always open a ticket at https://bugs.php.net and reference the bug id using #NNNNNN.

Fix #55371: get_magic_quotes_gpc() throws deprecation warning

After removing magic quotes, the get_magic_quotes_gpc function caused
a deprecate warning. get_magic_quotes_gpc can be used to detected
the magic_quotes behavior and therefore should not raise a warning at any
time. The patch removes this warning

We do not merge pull requests directly on github. All PRs will be pulled and pushed through http://git.php.net.

Guidelines for contributors

S
Description
⚠️ ARCHIVED: Original GitHub repository no longer exists. Preserved as backup on 2026-01-22T16:25:23.756Z
Readme BSD-3-Clause 945 MiB
Languages
C 66.1%
PHP 31.2%
C++ 0.8%
Shell 0.5%
M4 0.4%
Other 0.8%