Skip to main content

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

This version

1.0

Download files

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

Files for ely.tinymce_kupu_useragent_patch, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size ely.tinymce_kupu_useragent_patch-1.0.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page