compareUrl() protected method
Compares 2 URLs taking in account possible GET parameters order miss match and URL encoding inconsistencies.
protected boolean compareUrl ( $expectedUrl, $actualUrl ) | ||
---|---|---|
$expectedUrl | string |
Expected URL. |
$actualUrl | string |
Actual URL. |
return | boolean |
Whether URLs are equal. |
Please login to continue.