plone / plone.protect

HTTP protection utilities for the Plone CMS
https://pypi.org/project/plone.protect/
7 stars 8 forks source link

README: Document addTokenToUrl() #26

Closed lukasgraf closed 8 years ago

lukasgraf commented 8 years ago

I added some minimal documentation for the addTokenToUrl() function.

Additionally, I took the liberty to reorder the three possible methods to allow writes on read in order of "ascending insecurity" (more secure to less secure):

I also moved the previous section header for the IDisableCSRFProtection interface (Allowing write on read programatically) to apply for that whole section, and instead labeled the IDisableCSRFProtection method Marking the entire request as safe.