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