Skip to content

Commit

Permalink
fixes rack#246. Silence the warning about redefining this constant fr…
Browse files Browse the repository at this point in the history
…om the standard library.
  • Loading branch information
Ben Hamill committed Oct 4, 2011
1 parent cf140e3 commit 235f83c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/rack/backports/uri/common_192.rb
Expand Up @@ -50,5 +50,6 @@ def self.decode_www_form_component(str, enc=Encoding::UTF_8)
str.gsub(/\+|%\h\h/, TBLDECWWWCOMP_).force_encoding(enc)
end

remove_const :WFKV_
WFKV_ = '(?:[^%#=;&]*(?:%\h\h[^%#=;&]*)*)' # :nodoc:
end

0 comments on commit 235f83c

Please sign in to comment.