@@ 658-660 (lines=3) @@ | ||
655 | } |
|
656 | ||
657 | protected function scheme_normalization() { |
|
658 | if (isset($this->normalization[$this->scheme]['iuserinfo']) && $this->iuserinfo === $this->normalization[$this->scheme]['iuserinfo']) { |
|
659 | $this->iuserinfo = null; |
|
660 | } |
|
661 | if (isset($this->normalization[$this->scheme]['ihost']) && $this->ihost === $this->normalization[$this->scheme]['ihost']) { |
|
662 | $this->ihost = null; |
|
663 | } |
|
@@ 661-663 (lines=3) @@ | ||
658 | if (isset($this->normalization[$this->scheme]['iuserinfo']) && $this->iuserinfo === $this->normalization[$this->scheme]['iuserinfo']) { |
|
659 | $this->iuserinfo = null; |
|
660 | } |
|
661 | if (isset($this->normalization[$this->scheme]['ihost']) && $this->ihost === $this->normalization[$this->scheme]['ihost']) { |
|
662 | $this->ihost = null; |
|
663 | } |
|
664 | if (isset($this->normalization[$this->scheme]['port']) && $this->port === $this->normalization[$this->scheme]['port']) { |
|
665 | $this->port = null; |
|
666 | } |
|
@@ 664-666 (lines=3) @@ | ||
661 | if (isset($this->normalization[$this->scheme]['ihost']) && $this->ihost === $this->normalization[$this->scheme]['ihost']) { |
|
662 | $this->ihost = null; |
|
663 | } |
|
664 | if (isset($this->normalization[$this->scheme]['port']) && $this->port === $this->normalization[$this->scheme]['port']) { |
|
665 | $this->port = null; |
|
666 | } |
|
667 | if (isset($this->normalization[$this->scheme]['ipath']) && $this->ipath === $this->normalization[$this->scheme]['ipath']) { |
|
668 | $this->ipath = ''; |
|
669 | } |
|
@@ 667-669 (lines=3) @@ | ||
664 | if (isset($this->normalization[$this->scheme]['port']) && $this->port === $this->normalization[$this->scheme]['port']) { |
|
665 | $this->port = null; |
|
666 | } |
|
667 | if (isset($this->normalization[$this->scheme]['ipath']) && $this->ipath === $this->normalization[$this->scheme]['ipath']) { |
|
668 | $this->ipath = ''; |
|
669 | } |
|
670 | if (isset($this->ihost) && empty($this->ipath)) { |
|
671 | $this->ipath = '/'; |
|
672 | } |
|
@@ 673-675 (lines=3) @@ | ||
670 | if (isset($this->ihost) && empty($this->ipath)) { |
|
671 | $this->ipath = '/'; |
|
672 | } |
|
673 | if (isset($this->normalization[$this->scheme]['iquery']) && $this->iquery === $this->normalization[$this->scheme]['iquery']) { |
|
674 | $this->iquery = null; |
|
675 | } |
|
676 | if (isset($this->normalization[$this->scheme]['ifragment']) && $this->ifragment === $this->normalization[$this->scheme]['ifragment']) { |
|
677 | $this->ifragment = null; |
|
678 | } |
|
@@ 676-678 (lines=3) @@ | ||
673 | if (isset($this->normalization[$this->scheme]['iquery']) && $this->iquery === $this->normalization[$this->scheme]['iquery']) { |
|
674 | $this->iquery = null; |
|
675 | } |
|
676 | if (isset($this->normalization[$this->scheme]['ifragment']) && $this->ifragment === $this->normalization[$this->scheme]['ifragment']) { |
|
677 | $this->ifragment = null; |
|
678 | } |
|
679 | } |
|
680 | ||
681 | /** |