[Windmill-dev] Bug in Windmill + Firefox 2,3
Mikeal Rogers
mikeal at mozilla.com
Mon Jul 7 23:11:11 PDT 2008
Wow, this bug was CRAZY.
Ok, so here is the deal. The login page you're grabbing is generated
somewhere in your webapp (by the look of the headers most likely
Zope), and it actually embeds the referrer from the very first page
load in a hidden form field.
That is then sent in the POST to /login and that returns a 302
redirect to the hidden referrer field url.
Since the initial referrer is http://testdomain.com/testurl/windmill-serv/remote.html
when we reload that url it reloads ALL OF WINDMILL.
I was able to fix it though. Since there should never be a legitimate
redirect to an url with /windmill-serv from a remote web application I
can safely remove anything after it from the response headers before
handing them off to the client.
I re-ran the openplans.py test file and it seems to work completely
now. I get redirected to the proper location and I get a message
saying i just logged in so it all looks good :)
This is all checked in to trunk. If you're already running trunk then
you're golden, if not then let me know and I'll push another release
as soon as I can.
-Mikeal
On Jul 6, 2008, at July 6, 200811:27 AM, Rob Miller wrote:
> On Jul 4, 2008, at 7:55 PM, Mikeal Rogers wrote:
>
>> You didn't tell me what url to run these tests against.
>>
>> I looked through my IRC logs and saw you were testing http://home.kalistra.com:13001/openplans
>>
>> Unfortunately that site seems to be down now.
>
> ah, sorry... that's my desktop dev machine here at home... and i
> power it down when i'm not using it to save electricity.
>
> as adam says, you can reproduce at openplans.org. or you can wait
> until tomorrow when i'm back at work and the home.kalistra.com site
> will be up again.
>
> thanks for looking at this... i'm excited to start using windmill
> functional suites, but this one is a bit of a show-stopper for us.
>
> -r
>
> _______________________________________________
> Windmill-dev mailing list
> Windmill-dev at osafoundation.org
> http://lists.osafoundation.org/mailman/listinfo/windmill-dev
More information about the Windmill-dev
mailing list