diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-04-25 11:56:58 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-04-25 11:56:58 +0000 |
commit | 27e972854caffe0b367fd2f2d73a11c55604bde7 (patch) | |
tree | 3c39b14da8136233dfee77c3b9d2ee2e763437e9 /lib/uri | |
parent | 512041bf621f914c3618720d7576e45bb5502a15 (diff) |
common.rb: unused constant
* lib/uri/common.rb (URI::HTML5ASCIIINCOMPAT): remove the constant
which has been unused since r40460, and wrong since r49069 due
to the operator precedence. [ruby-core:86678] [Bug #14711]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/uri')
-rw-r--r-- | lib/uri/common.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/uri/common.rb b/lib/uri/common.rb index 7200f8b1d7..ab4a8e382b 100644 --- a/lib/uri/common.rb +++ b/lib/uri/common.rb @@ -354,9 +354,6 @@ module URI TBLDECWWWCOMP_['+'] = ' ' TBLDECWWWCOMP_.freeze - HTML5ASCIIINCOMPAT = defined? Encoding::UTF_7 ? [Encoding::UTF_7, Encoding::UTF_16BE, Encoding::UTF_16LE, - Encoding::UTF_32BE, Encoding::UTF_32LE] : [] # :nodoc: - # Encodes given +str+ to URL-encoded form data. # # This method doesn't convert *, -, ., 0-9, A-Z, _, a-z, but does convert SP |