Code Duplication    Length = 5-5 lines in 2 locations

includes/parser/Parser.php 2 locations

@@ 1970-1974 (lines=5) @@
1967
1968
		# Fragment part - 'fragment'
1969
		$start = strpos( $url, '#' );
1970
		if ( $start !== false && $start < $end ) {
1971
			$ret = self::normalizeUrlComponent(
1972
				substr( $url, $start, $end - $start ), '"#%<>[\]^`{|}' ) . $ret;
1973
			$end = $start;
1974
		}
1975
1976
		# Query part - 'query' minus &=+;
1977
		$start = strpos( $url, '?' );
@@ 1978-1982 (lines=5) @@
1975
1976
		# Query part - 'query' minus &=+;
1977
		$start = strpos( $url, '?' );
1978
		if ( $start !== false && $start < $end ) {
1979
			$ret = self::normalizeUrlComponent(
1980
				substr( $url, $start, $end - $start ), '"#%<>[\]^`{|}&=+;' ) . $ret;
1981
			$end = $start;
1982
		}
1983
1984
		# Scheme and path part - 'pchar'
1985
		# (we assume no userinfo or encoded colons in the host)