Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
bug in OpenURI#redirectable?
Chris McMahon
2/26/2007 7:18:00 PM
Use open-uri to go to
http://www...
Receive error message
"redirection forbidden:
http://mail.google...
->
https://www.google.com/accounts/Se...
Comment out this from open-uri:
#unless OpenURI.redirectable?(uri, redirect)
# raise "redirection forbidden: #{uri} -> #{redirect}"
# end
Try again and receive this error:
certificate verify failed (OpenSSL::SSL::SSLError)
In this case, looking at the packets, open-uri seems to be mangling
something on the redirect, because the cookie being set is expired. I
haven't pursued any more diagnosis on the error, but if anyone could
suggest a way to make this work correctly, I would be happy to hear
it.
Thanks.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
bug in OpenURI#redirectable?
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password