diff --git a/lib/final_destination.rb b/lib/final_destination.rb index 23e76033a51..2f68030eb36 100644 --- a/lib/final_destination.rb +++ b/lib/final_destination.rb @@ -46,7 +46,6 @@ class FinalDestination return @uri if head.status == 405 if head.status == 200 - @uri = nil unless FinalDestination.header_for(head, 'content-type') =~ /text\/html/ @status = :resolved return @uri end