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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2

File details

Details for the file pyramid_unicodedammit-0.0.1.tar.gz.

File metadata

File hashes

Hashes for pyramid_unicodedammit-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ab3cde4fbaf72ad7eda9a20274f86b4803df82e32e4fa09b279e4ba3356f2de9
MD5 587730fe903a46a6fd3523c25c5976d2
BLAKE2b-256 70b18a7393e8c452271282cb663667b7e564a3966134171bfc1fa82fae1315de

See more details on using hashes here.

File details

Details for the file pyramid_unicodedammit-0.0.1-py2-none-any.whl.

File metadata

File hashes

Hashes for pyramid_unicodedammit-0.0.1-py2-none-any.whl
Algorithm Hash digest
SHA256 d1d69c6ab3ecba369cc7a0ccf81525b2f98a0d6494e428d3328a206ac457d2a3
MD5 58a320372d19d8a436ef2bfec43c94cd
BLAKE2b-256 2651bf8a32cad36f8d0ec6d9573b497b176e28aad9dd84bd17493588c2f96c2d

See more details on using hashes here.

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