whitequark / rack-utf8_sanitizer

Rack::UTF8Sanitizer is a Rack middleware which cleans up invalid UTF8 characters in request URI and headers.
MIT License
315 stars 53 forks source link

Update documentation on exception strategy handler #52

Closed joshmfrankel closed 4 years ago

joshmfrankel commented 4 years ago

I've added documentation and an example in the readme.md for a simple middleware handler when using the exception strategy. Open to changing the language or modifying the example for better understandability.