deanmao / node-chimera

A new kind of headless webkit integration for nodejs; a great alternative to phantomjs.
http://www.deanmao.com/2012/08/13/enter-chimera/
MIT License
847 stars 45 forks source link

re-encoding of redirect url #27

Open meeech opened 11 years ago

meeech commented 11 years ago

hi dean. first off thanks for chimera - exactly what i was looking for.

I have this scenario causing me an issue (unsure if this is a chimera/webkit issue?):

Load www.example.com?signature=w%3D%3D--123456 in chimera

It redirects to www.example.com/auth/login

I process the form in chimera, and submit

However, when chimera then gets the redirect after auth, the url its trying to redirect to is double encoded - so the % gets reencoded to %25

www.example.com?signature=w%253D%253D--123456

All the steps work when I do it manually in browser, so just wondering if this is potentially a problem in chimera/webkit, or outside the scope

thanks