1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 01:32:42 +01:00
phorge-phorge/src
Nicholas Harper 8c0e5e1c58 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
2011-08-25 15:45:16 -07:00
..
aphront Render internal stack frames more reasonably 2011-08-23 14:12:41 -07:00
applications Turn off write guard when saving differential comment cache 2011-08-25 15:45:16 -07:00
docs Enable support for a single reply-handler for outbound emails 2011-08-22 10:20:49 +02:00
infrastructure Fixed the missing space after the : for vote 2011-08-23 22:03:56 -04:00
storage Create AphrontWriteGuard, a backup mechanism for CSRF validation 2011-08-16 13:29:57 -07:00
view Prevent CSRF uploads via /file/dropupload/ 2011-08-16 13:19:10 -07:00
__celerity_resource_map__.php Fix minor CSRF-patch issues. 2011-08-16 14:39:01 -07:00
__phutil_library_init__.php Distinguish between aphront and phabricator. 2011-01-22 17:45:28 -08:00
__phutil_library_map__.php Provide a basic maniphest.createtask method via Conduit 2011-08-21 14:04:01 -07:00