|
@@ 1904-1908 (lines=5) @@
|
| 1901 |
|
|
| 1902 |
|
# Fragment part - 'fragment' |
| 1903 |
|
$start = strpos( $url, '#' ); |
| 1904 |
|
if ( $start !== false && $start < $end ) { |
| 1905 |
|
$ret = self::normalizeUrlComponent( |
| 1906 |
|
substr( $url, $start, $end - $start ), '"#%<>[\]^`{|}' ) . $ret; |
| 1907 |
|
$end = $start; |
| 1908 |
|
} |
| 1909 |
|
|
| 1910 |
|
# Query part - 'query' minus &=+; |
| 1911 |
|
$start = strpos( $url, '?' ); |
|
@@ 1912-1916 (lines=5) @@
|
| 1909 |
|
|
| 1910 |
|
# Query part - 'query' minus &=+; |
| 1911 |
|
$start = strpos( $url, '?' ); |
| 1912 |
|
if ( $start !== false && $start < $end ) { |
| 1913 |
|
$ret = self::normalizeUrlComponent( |
| 1914 |
|
substr( $url, $start, $end - $start ), '"#%<>[\]^`{|}&=+;' ) . $ret; |
| 1915 |
|
$end = $start; |
| 1916 |
|
} |
| 1917 |
|
|
| 1918 |
|
# Scheme and path part - 'pchar' |
| 1919 |
|
# (we assume no userinfo or encoded colons in the host) |