Code Duplication    Length = 5-5 lines in 2 locations

includes/parser/Parser.php 2 locations

@@ 1949-1953 (lines=5) @@
1946
1947
		# Fragment part - 'fragment'
1948
		$start = strpos( $url, '#' );
1949
		if ( $start !== false && $start < $end ) {
1950
			$ret = self::normalizeUrlComponent(
1951
				substr( $url, $start, $end - $start ), '"#%<>[\]^`{|}' ) . $ret;
1952
			$end = $start;
1953
		}
1954
1955
		# Query part - 'query' minus &=+;
1956
		$start = strpos( $url, '?' );
@@ 1957-1961 (lines=5) @@
1954
1955
		# Query part - 'query' minus &=+;
1956
		$start = strpos( $url, '?' );
1957
		if ( $start !== false && $start < $end ) {
1958
			$ret = self::normalizeUrlComponent(
1959
				substr( $url, $start, $end - $start ), '"#%<>[\]^`{|}&=+;' ) . $ret;
1960
			$end = $start;
1961
		}
1962
1963
		# Scheme and path part - 'pchar'
1964
		# (we assume no userinfo or encoded colons in the host)