> So ultimately... Do we just need a "urlutils.is_same_location()" which can > handle the escaping issues? Yes, I think so. The recent issues about default vs explicit ports indicates to me that turning urls to strings and then comparing them is not a good approach. -- Martin