HomePhorge

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, 3:17 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP716eab82bb1c: Merge pull request #60 from moos3/master
Branches
Unknown
Tags
Unknown

Event Timeline