remove user agent test from the test for isTinyMCEnabled and isKupuEnabled
Project description
Introduction
Both kupu and tinymce check the user-agent header in requests as part of isKupuEnabled and isTinyMCEEnabled. If user-agent is empty then it will return false. This is not so useful in those situations where it is nice to clear out user agent, e.g. with nginx in front of squid.
This patch removes that check. So far it seems pretty stable to inflict kupu and tinymce on people without the user-agent data.
Changelog
1.0 - Unreleased
Initial 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 ely.tinymce_kupu_useragent_patch-1.0.tar.gz
.
File metadata
- Download URL: ely.tinymce_kupu_useragent_patch-1.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83e907b0389151e46122eb781a8952a67afd67dc7c7e401ec46c7e650b1cd8e5 |
|
MD5 | 445d33fb14d5534ed0c1a977ce5b561f |
|
BLAKE2b-256 | dc2103b891c75cfc50234c3b3e54a7337ae9e41c7aa12c4b8dccfda50c21d72b |