Ticket #41331: 41331.patch
File 41331.patch, 1.5 KB (added by , 2 years ago) |
---|
-
src/wp-admin/includes/class-wp-community-events.php
221 221 * a proxy. In those cases, $_SERVER['REMOTE_ADDR'] is set to the proxy address rather 222 222 * than the user's actual address. 223 223 * 224 * Modified from http ://stackoverflow.com/a/2031935/450127, MIT license.224 * Modified from https://stackoverflow.com/a/2031935/450127, MIT license. 225 225 * Modified from https://github.com/geertw/php-ip-anonymizer, MIT license. 226 226 * 227 227 * SECURITY WARNING: This function is _NOT_ intended to be used in -
src/wp-includes/rest-api/class-wp-rest-request.php
181 181 * Note that we treat `-` (dashes) and `_` (underscores) as the same 182 182 * character, as per header parsing rules in both Apache and nginx. 183 183 * 184 * @link http ://stackoverflow.com/q/18185366185 * @link http ://wiki.nginx.org/Pitfalls#Missing_.28disappearing.29_HTTP_headers184 * @link https://stackoverflow.com/q/18185366 185 * @link https://wiki.nginx.org/Pitfalls#Missing_.28disappearing.29_HTTP_headers 186 186 * @link https://nginx.org/en/docs/http/ngx_http_core_module.html#underscores_in_headers 187 187 * 188 188 * @since 4.4.0