ovarPhaccaclere
New Member
In PHP, I want to compare two relative URLs for equality. The catch: URLs may differ in percent-encoding, e.g.
- \[code\]/dir/file+file\[/code\] vs. \[code\]/dir/file%20file\[/code\]
- \[code\]/dir/file(file)\[/code\] vs. \[code\]/dir/file%28file%29\[/code\]
- \[code\]/dir/file%5bfile\[/code\] vs. \[code\]/dir/file%5Bfile\[/code\]