Changeset 29853 for trunk/src/wp-includes/class-http.php
- Timestamp:
- 10/08/2014 06:43:14 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-http.php
r29852 r29853 862 862 } 863 863 864 // Always pass a Path, defaulting to the root in cases such as http://example.com 865 if ( ! isset( $arrURL['path'] ) ) { 866 $arrURL['path'] = '/'; 867 } 868 864 869 if ( isset( $r['headers']['Host'] ) || isset( $r['headers']['host'] ) ) { 865 870 if ( isset( $r['headers']['Host'] ) ) … … 965 970 else 966 971 $requestPath = $arrURL['path'] . ( isset($arrURL['query']) ? '?' . $arrURL['query'] : '' ); 967 968 if ( empty($requestPath) )969 $requestPath .= '/';970 972 971 973 $strHeaders = strtoupper($r['method']) . ' ' . $requestPath . ' HTTP/' . $r['httpversion'] . "\r\n";
Note: See TracChangeset
for help on using the changeset viewer.