diff options
Diffstat (limited to 'lib/custodian/parser.rb')
-rw-r--r-- | lib/custodian/parser.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/custodian/parser.rb b/lib/custodian/parser.rb index 941a549..0f00e0d 100644 --- a/lib/custodian/parser.rb +++ b/lib/custodian/parser.rb @@ -96,7 +96,7 @@ module Custodian case response when Net::HTTPRedirection then - newURL = (response['location'] =~ /^http/) ? response['Location'] : uri_str + response['Location'] + newURL = response['location'] =~ /^http/ ? response['Location'] : uri_str + response['Location'] return(get_url_contents(newURL)) else return response.body |