1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib
normal d9d4a28f1c webrick: prevent response splitting and header injection
Original patch by tenderlove (with minor style adjustments).

* lib/webrick/httpresponse.rb (send_header): call check_header
  (check_header): raise on embedded CRLF in header value
* test/webrick/test_httpresponse.rb
  (test_prevent_response_splitting_headers): new test
* (test_prevent_response_splitting_cookie_headers): ditto

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-03-28 08:38:26 +00:00
..
cgi
drb If host of URI is omitted, make it with IP address. 2018-03-17 15:13:39 +00:00
forwardable
irb Hash instead of Set 2018-03-13 01:28:28 +00:00
matrix
net Raise ArgumentError if host component is nil 2018-03-08 16:07:54 +00:00
optparse
racc
rdoc fix regexp introduced at recent RDoc update (r62924). 2018-03-28 03:18:00 +00:00
rexml
rinda
rss
rubygems
shell
unicode_normalize
uri set UTF-8 if given URI string is ASCII 2018-03-22 11:20:03 +00:00
webrick webrick: prevent response splitting and header injection 2018-03-28 08:38:26 +00:00
yaml
.document
abbrev.rb
base64.rb
benchmark.rb
cgi.rb
cmath.gemspec
cmath.rb
csv.gemspec
csv.rb Improve CSV performance 2018-03-18 10:28:58 +00:00
debug.rb
delegate.rb
drb.rb
e2mmap.rb
English.rb
erb.rb erb.rb: relax warn level of ERB.new 2018-02-28 12:12:20 +00:00
fileutils.gemspec
fileutils.rb Fix typos [ci skip] 2018-03-13 15:10:59 +00:00
find.rb
forwardable.rb
getoptlong.rb
ipaddr.gemspec
ipaddr.rb
irb.rb
logger.rb
matrix.rb
mkmf.rb
monitor.rb
mutex_m.rb
observer.rb
open-uri.rb
open3.rb
optionparser.rb
optparse.rb
ostruct.rb
pp.rb
prettyprint.rb
prime.rb
profile.rb
profiler.rb
pstore.rb
rdoc.rb Merge RDoc 6.0.3 from upstream. 2018-03-26 05:56:26 +00:00
resolv-replace.rb
resolv.rb resolv.rb: remove rangerand 2018-03-06 03:31:46 +00:00
rss.rb
rubygems.rb
scanf.gemspec
scanf.rb
securerandom.rb
set.rb Add a new #filter alias for #select 2018-02-25 13:52:07 +00:00
shell.rb
shellwords.rb
singleton.rb
sync.rb
tempfile.rb
thwait.rb
time.rb
timeout.rb
tmpdir.rb
tracer.rb
tsort.rb
un.rb
uri.rb Introduce URI::File to handle file URI scheme 2018-03-15 16:51:31 +00:00
weakref.rb
webrick.rb
yaml.rb Clarify the documentation of the YAML module [Misc #14567] 2018-03-02 12:56:37 +00:00