aboutsummaryrefslogtreecommitdiffstats
path: root/lib/webrick/httpstatus.rb
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-14 11:16:23 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-14 11:16:23 +0000
commit6617c41292b7d1e097abb8fdb0cab9ddd83c77e7 (patch)
tree66ea01a46fb9b4dda48f5c367dfc0b1fb28d43c1 /lib/webrick/httpstatus.rb
parent7df1e45bb6b4326da5c799dcf58d38f0a14362af (diff)
downloadruby-6617c41292b7d1e097abb8fdb0cab9ddd83c77e7.tar.gz
lib/webrick/log.rb: sanitize any type of logs
It had failed to sanitize some type of exception messages. Reported and patched by Yusuke Endoh (mame) at https://hackerone.com/reports/223363 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/webrick/httpstatus.rb')
-rw-r--r--lib/webrick/httpstatus.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/webrick/httpstatus.rb b/lib/webrick/httpstatus.rb
index ded5aa2e60..0630219ada 100644
--- a/lib/webrick/httpstatus.rb
+++ b/lib/webrick/httpstatus.rb
@@ -23,10 +23,6 @@ module WEBrick
##
# Root of the HTTP status class hierarchy
class Status < StandardError
- def initialize(*args) # :nodoc:
- args[0] = AccessLog.escape(args[0]) unless args.empty?
- super(*args)
- end
class << self
attr_reader :code, :reason_phrase # :nodoc:
end