misc/plugin/weather.rb in tdiary-5.0.7 vs misc/plugin/weather.rb in tdiary-5.0.8

- old
+ new

@@ -295,10 +295,10 @@ Net::HTTP::Proxy( px_host, px_port ).start( u.host, u.port ) do |http| case res = http.get( u.request_uri, header ) when Net::HTTPSuccess res.body when Net::HTTPRedirection - fetch( res['location'].untaint, limit - 1 ) + fetch( res['location'], limit - 1 ) else raise ArgumentError, res.error! end end end