Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | URI.unescape handles mixed Unicode/escaped input | Ashe Connor | 2018-03-07 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | Previously, URI.enscape could handle Unicode input (without any actual escaped characters), or input with escaped characters (but no actual Unicode characters) - not both. URI.unescape("\xe3\x83\x90") # => "バ" URI.unescape("%E3%83%90") # => "バ" URI.unescape("\xe3\x83\x90%E3%83%90") # => # Encoding::CompatibilityError We need to let `gsub` handle this for us, and then force back to the original encoding of the input. The result String will be mangled if the percent-encoded characters don't conform to the encoding of the String itself, but that goes without saying. Signed-off-by: Ashe Connor <ashe@kivikakk.ee> | ||||
* | [Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment` | Koichi ITO | 2017-07-11 | 1 | -0/+1 |
| | |||||
* | Use frozen-string-literal in ActiveSupport | Kir Shatrov | 2017-07-09 | 1 | -0/+1 |
| | |||||
* | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string" | Matthew Draper | 2017-07-02 | 1 | -1/+0 |
| | | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa. | ||||
* | Enforce frozen string in Rubocop | Kir Shatrov | 2017-07-01 | 1 | -0/+1 |
| | |||||
* | applies new string literal convention in activesupport/test | Xavier Noria | 2016-08-06 | 1 | -3/+3 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 ↵ | Vipul A M | 2015-02-03 | 1 | -1/+0 |
| | | | | onwards. | ||||
* | missing activesupport test coverage | Eugene Gilburg | 2014-07-19 | 1 | -1/+1 |
| | |||||
* | Convert URI.parser.parse to URI.parse, and remove ruby 1.8.x code. | kennyj | 2012-01-19 | 1 | -6/+2 |
| | |||||
* | use AS::TestCase as the base class | Aaron Patterson | 2012-01-05 | 1 | -1/+1 |
| | |||||
* | Use explicit source encoding rather than forced UTF-8 from US-ASCII. | Santiago Pastorino | 2010-04-26 | 1 | -1/+1 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Ruby 1.9.2: URI.escape is obsolete | Jeremy Kemper | 2009-11-02 | 1 | -2/+6 |
| | |||||
* | Explicit test dependencies | Jeremy Kemper | 2009-03-29 | 1 | -0/+1 |
| | |||||
* | Broaden URI.unescape fix to all affected 1.9.x by checking for broken ↵ | Jeremy Kemper | 2009-02-20 | 1 | -5/+6 |
| | | | | behavior instead of specific patchlevel | ||||
* | Ruby 1.9.1p0's URI.decode() bug fix | moro | 2009-02-20 | 1 | -0/+11 |
backport to fix Ruby 1.9.1p0 bug on [ruby-dev:38005]. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> |