CARVIEW |
Select Language
HTTP/2 200
server: nginx
date: Sat, 11 Oct 2025 02:23:46 GMT
content-type: text/html;charset=utf-8
vary: Accept-Encoding
etag: W/"anonymous/Tue, 02 Feb 2016 12:54:59 GMT/06a3dfe4233e137d3982a70527760858"
cache-control: must-revalidate
alt-svc: h3=":443"; ma=86400
x-nc: HIT
content-encoding: gzip
Changeset 36435 – WordPress Trac
Changeset 36435
- Timestamp:
- 02/02/2016 12:54:59 PM (10 years ago)
- Author:
- ocean90
- Message:
-
HTTP:
0.1.2.3
is not a valid IP.
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/http.php
r36398 r36435 537 537 if ( $ip ) { 538 538 $parts = array_map( 'intval', explode( '.', $ip ) ); 539 if ( 127 === $parts[0] || 10 === $parts[0] 539 if ( 127 === $parts[0] || 10 === $parts[0] || 0 === $parts[0] 540 540 || ( 172 === $parts[0] && 16 <= $parts[1] && 31 >= $parts[1] ) 541 541 || ( 192 === $parts[0] && 168 === $parts[1] )
Note: See TracChangeset
for help on using the changeset viewer.