Sha256: 35ca0e2ce23821f2f50d0464e48a256a3dfdf0e0a5b1f177e1ecfb02866a5500

Contents?: true

Size: 308 Bytes

Versions: 6

Compression:

Stored size: 308 Bytes

Contents

# TODO: Can be removed after updating to rack 1.3.0
# Avoids this issue: http://stackoverflow.com/questions/3622394/ruby-1-9-2-strange-warning-when-running-cucumber-specs
module Rack
  module Utils
    def escape(s)
      CGI.escape(s.to_s)
    end
    def unescape(s)
      CGI.unescape(s)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
browsercms-3.4.2 config/initializers/rack_1_2_1_patch.rb
browsercms-3.4.2.rc1 config/initializers/rack_1_2_1_patch.rb
browsercms-3.4.1 config/initializers/rack_1_2_1_patch.rb
browsercms-3.4.0 config/initializers/rack_1_2_1_patch.rb
browsercms-3.4.0.rc2 config/initializers/rack_1_2_1_patch.rb
browsercms-3.4.0.rc1 config/initializers/rack_1_2_1_patch.rb