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


Release history Release notifications

This version
History Node

0.0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pyramid_unicodedammit-0.0.1-py2-none-any.whl (3.8 kB) Copy SHA256 hash SHA256 Wheel 2.7 Oct 14, 2016
pyramid_unicodedammit-0.0.1.tar.gz (1.9 kB) Copy SHA256 hash SHA256 Source None Oct 14, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page