Forwarded header support for Morepath
Project description
more.forwarded: Forwarded header support for Morepath
If you want to run Morepath behind a trusted proxy that sets the Forwarded header, you can use more.forwarded to make Morepath generate URLs that take this header into account.
Note: Only use this if you know you are behind a trusted proxy that indeed sets the Forwarded header, otherwise you expose your server to potential attacks.
CHANGES
0.2 (2016-04-26)
Morepath 0.14 introduces a HOST_HEADER_PROTECTION tween that we should be used over. This stops the forwarded header from injecting incorrect Host headers.
Make tests work with Morepath 0.14 and later.
0.1 (2014-11-25)
Initial public release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file more.forwarded-0.2.tar.gz
.
File metadata
- Download URL: more.forwarded-0.2.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6e89b4990dc98fe4476d1dea3c49506a3434d5fc8118d48afaeecfcaa0595c3 |
|
MD5 | 628829aa1d28c7cd9ed4f219b806cc88 |
|
BLAKE2b-256 | 7cd8e14f30346a9da2dc705f2206a04c70d40dc03e8238f3a9ac4bb668aedb25 |