Hello,
In com.gargoylesoftware.htmlunit.javascript.host.xml.XMLHttpRequest, method open, the password in the request credentials is set to the username:
if (Undefined.instance != password) { passwordCred = user.toString(); }
Upps, you are right.
Will fix this today in the evening when i have access to the code. Thanks for finding.
It will help if you can create a unit test for this.
Sure thing. Need to set up and familiarize myself a bit first, so it might take a day or so.
Patch with fix and test case attached. If it's too badly written I can give it another shot, given a few pointers in the right direction.
Sebastion,
thanks for your patch, it was a great help (and time saver) for me. Your patch is now (sightly modified) in SVN, the build machine is working...
Thanks a lot for your support.
RBRi
Log in to post a comment.
Upps, you are right.
Will fix this today in the evening when i have access to the code.
Thanks for finding.
It will help if you can create a unit test for this.
Sure thing. Need to set up and familiarize myself a bit first, so it might take a day or so.
Last edit: Sebastian Cato 2013-08-01
Patch with fix and test case attached. If it's too badly written I can give it another shot, given a few pointers in the right direction.
Sebastion,
thanks for your patch, it was a great help (and time saver) for me.
Your patch is now (sightly modified) in SVN, the build machine is working...
Thanks a lot for your support.