thucydides-webtests/thucydides — pull request #41 by airinev (2012-06-20 12:30:56+00:00)
Title: Get rid of URL object comparation

It's better avoid comparing two URLs by calling equals() method on URL object. This method was implemented long ago so it has very strange behaviour - it tries to do dns lookup for comparing hosts through comparing its IP adresses. So it may return incorrect results for websites based on virtual hosting and has some other serious problems.

You may read about this strange behaviour in javadoc: http://docs.oracle.com/javase/6/docs/api/java/net/URL.html#equals(java.lang.Object)