Peng Zhang on November 14th, 2009

The bug is that if you tell WebClient to go to one URL, and it goes to an altered one. To reproduce the issue, use the following code fragment: WebClient.getPage(“http://www.yellowpages.ca/search/si/1/Chiropractors+D.C. /Scarborough+ON”); It actually tries to get “http://www.yellowpages.ca/Chiropractors+D.C./Scarborough+ON”. It appears that whenever there is a . in the url path, getPage will alter the url in [...]

Continue reading about HTMLUnit 2.6 Bug in WebClient’s Method getPage