Skip to main content

Make a best effort to deal with bizarre query strings

Project description

https://api.travis-ci.org/npilon/pyramid_unicodedammit.png?branch=master

Pyramid plugin for making a best effort to deal with bizarre query strings. Query strings should only ever contain UTF-8 encoded text. However, it’s possible using some web browsers to submit forms or enter URLs containing other encodings. This plugin registers a tween that uses UnicodeDammit from beautifulsoup4 to make a best effort to properly recognize these query strings.

Usage

  1. Include pyramid_unicodedammit using either the pyramid.includes configuration file setting or config.include('pyramid_unicodedammit')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyramid_unicodedammit-0.0.1.tar.gz (1.9 kB view hashes)

Uploaded Source

Built Distribution

pyramid_unicodedammit-0.0.1-py2-none-any.whl (3.8 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page