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.

Source Distribution

ely.tinymce_kupu_useragent_patch-1.0.tar.gz (2.9 kB view details)

Uploaded Source

File details

Details for the file ely.tinymce_kupu_useragent_patch-1.0.tar.gz.

File metadata

File hashes

Hashes for ely.tinymce_kupu_useragent_patch-1.0.tar.gz
Algorithm Hash digest
SHA256 83e907b0389151e46122eb781a8952a67afd67dc7c7e401ec46c7e650b1cd8e5
MD5 445d33fb14d5534ed0c1a977ce5b561f
BLAKE2b-256 dc2103b891c75cfc50234c3b3e54a7337ae9e41c7aa12c4b8dccfda50c21d72b

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