Homestyx hydra
Diffusion hydra 8c0e5e1c58d1

Turn off write guard when saving differential comment cache

Description

Turn off write guard when saving differential comment cache

Summary:
It is possible to view a comment that has no cache; when viewing such a comment
the request doesn't have a csrf token and there is no need for one, so we turn
off the write guard.

Test Plan:
loaded an old diff that had no cache, and the page loaded instead of throwing
an AphrontCSRFException.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, epriestley

Differential Revision: 858

Details

Provenance
Nicholas HarperAuthored on Aug 25 2011, 6:17 PM
sirocylPushed on Oct 16 2024, 5:49 AM
Parents
R1:716eab82bb1c: Merge pull request #60 from moos3/master
Branches
Unknown
Tags
Unknown

Event Timeline