Skip to content

Commit

Permalink
HTTP::Response#headers_string=: Recode string
Browse files Browse the repository at this point in the history
  • Loading branch information
Zapotek committed Jan 18, 2017
1 parent 40cd0f9 commit c578d52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/arachni/http/response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def redirect?
alias :redirection? :redirect?

def headers_string=( string )
@headers_string = string.freeze
@headers_string = string.to_s.recode.freeze
end

# @note Depends on the response code.
Expand Down

0 comments on commit c578d52

Please sign in to comment.