I just want to note the behaviour change here. Previously the entire comparison was case insensitive, now it follows standard URI comparison rules (domain is insensitive, path, etc. are sensitive).

I think this is an improvement but just in case we accidentally create a bug, I wanted to flag this up for future reference.