Skip to content
This repository
Browse code

fixes #246. Silence the warning about redefining this constant from t…

…he standard library.
  • Loading branch information...
commit 235f83cb88650beaa7fd0089ee0d19ca46507fc0 1 parent cf140e3
Ben Hamill authored

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  lib/rack/backports/uri/common_192.rb
1  lib/rack/backports/uri/common_192.rb
@@ -50,5 +50,6 @@ def self.decode_www_form_component(str, enc=Encoding::UTF_8)
50 50
     str.gsub(/\+|%\h\h/, TBLDECWWWCOMP_).force_encoding(enc)
51 51
   end
52 52
 
  53
+  remove_const :WFKV_
53 54
   WFKV_ = '(?:[^%#=;&]*(?:%\h\h[^%#=;&]*)*)' # :nodoc:
54 55
 end

0 notes on commit 235f83c

Please sign in to comment.
Something went wrong with that request. Please try again.