1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/lib
Agis- e67f001e7c Use #bytesize instead of #size when checking for cookie overflow
Although the cookie values happens to be ASCII strings because they are
Base64 encoded, it is semantically incorrect to check for the number of the
characters in the cookie, when we actually want to check for the number of the
bytes it consists of.

Furthermore it is unecessary coupling with the current implementation that
uses Base64 for encoding the values.
2014-07-11 13:24:49 +03:00
..
abstract_controller Relpace =~ Regexp.new str with .include? str in AC::Base#_valid_action_name? 2014-06-19 18:39:58 +03:00
action_controller Removed single space padding from empty response body. 2014-07-10 16:33:22 -07:00
action_dispatch Use #bytesize instead of #size when checking for cookie overflow 2014-07-11 13:24:49 +03:00
action_pack Introduce Rails.gem_version 2014-03-05 12:37:38 -05:00
abstract_controller.rb No need for .rb extension 2013-08-25 11:39:09 +02:00
action_controller.rb Remove deprecated cattr_* requires 2013-12-03 00:28:15 +02:00
action_dispatch.rb ActionDispatch::Head was replaced by Rack::Head. Closes #14191. 2014-02-25 11:20:12 +01:00
action_pack.rb update copyright notices to 2014. [ci skip] 2014-01-01 23:59:49 +05:30