diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2016-12-21 12:03:30 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2016-12-21 12:04:06 -0800 |
commit | 87105622ccc66563f021e2a2defd66b8d7bfb46a (patch) | |
tree | 597fe68ba38aed93d2662e9058273cec7f8e5f05 /actionpack | |
parent | 2eb0a6630ac3ace528de04b308d0250ac613a318 (diff) | |
download | rails-87105622ccc66563f021e2a2defd66b8d7bfb46a.tar.gz rails-87105622ccc66563f021e2a2defd66b8d7bfb46a.tar.bz2 rails-87105622ccc66563f021e2a2defd66b8d7bfb46a.zip |
updating docs
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/metal/parameter_encoding.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/metal/parameter_encoding.rb b/actionpack/lib/action_controller/metal/parameter_encoding.rb index 8b2c414a5f..962532ff09 100644 --- a/actionpack/lib/action_controller/metal/parameter_encoding.rb +++ b/actionpack/lib/action_controller/metal/parameter_encoding.rb @@ -27,6 +27,10 @@ module ActionController # # def show # @repo = Repository.find_by_filesystem_path params[:file_path] + # + # # `repo_name` is guaranteed to be UTF-8, but was ASCII-8BIT, so + # # tag it as such + # @repo_name = params[:repo_name].force_encoding 'UTF-8' # end # # def index |