Skip to content

chooselife22/rack_encoding_scrubber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RackEncodingScrubber

Removes invalid percent encodings, like:

ArgumentError: invalid %-encoding (%u00fcbersetzer)

Installation

Add this line to your application's Gemfile:

gem 'rack_encoding_scrubber'

And then execute:

$ bundle

Or install it yourself as:

$ gem install rack_encoding_scrubber

Usage

add to config/application.rb:

  config.middleware.insert_before "Rack::Runtime", "RackEncodingScrubber"

About

removes invalid percent encodings

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages