This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description


How it works

This package contains workarounds for legacy code that contains bugs that appear evident after applying the plone4.csrffixes patch.


Add plonetrick.csrfworkarounds to the list of eggs in your buildout, run buildout and restart Plone.

Disable plone CSRF check in page templates

One of the canonical way to disable the CSRF protection is using this code snippet:


This solution is better than the workaround provided by this package. The workaround consist in customizing the template adding a call to here/disable_csrf_protection/disable, e.g.:

<metal:slot fill-slot="top_slot" tal:define="dummy here/@@disable_csrf_protection/disable" />

Disable plone CSRF transform when getting TinyMCE configuration


There is no easy fix with this, so I added the workaround view tinymce-jsonconfiguration-csrf-free that wraps the original one adding the requested header.

Example usage:

  url: portal_url + '/@@tinymce-jsonconfiguration-csrf-free?field=' + encodeURI(element.attr('name')),
  success: function(data) {
    element.attr({'data-mce-config': data});
    window.initTinyMCE(element.parent(), {});


0.9.0 (2015-11-25)

  • Initial release. [ale-rt]
Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
plonetrick.csrfworkarounds-0.9.0.tar.gz (9.2 kB) Copy SHA256 Checksum SHA256 Source Nov 25, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting