From: "Derek T." Date: 2012-09-06T08:34:10+09:00 Subject: OpenURI open method problem The code I am referring to looks like this: def open_url(url) url_object = nil begin url_object = open(url) rescue puts "Unable to open url: " + url end return url_object end I was wondering why the open method is unable to open the url when the urls are of this form: http://www.anrdoezrs.net/click-5329913-10569016?url=http%3A%2F%2Fwww.fashion58.com%2Fitemdetail.asp%3Fmod%3DEH5BG213DFSK&cjsku=F58-EH5BG213DFSK http://www.jdoqocy.com/click-5329913-10538037?url=http://www.6pm.com/rock-n-roll-cowgirl-woven-tunic-red http://www.kqzyfj.com/click-5329913-10285745?url=http%3A%2F%2Fwww.qvc.com%2Fscripts%2Freference.pl%3Fitem%3DJ142488%26ref%3DCJ4%26tpl%3Ddetail&cjsku=J142488 even though they clearly work if you put it into your browser. I've read that open uri automatically follows redirects, so what is the problem here? Thanks -- Posted via http://www.ruby-forum.com/.