From 88eb6410b344cca78a4319cf8f9a6ac7d6a81c99 Mon Sep 17 00:00:00 2001 From: epriestley Date: Tue, 16 Aug 2011 14:44:13 -0700 Subject: [PATCH] This is also an unguarded but CSRF-safe cache write. --- .../parser/changeset/DifferentialChangesetParser.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/applications/differential/parser/changeset/DifferentialChangesetParser.php b/src/applications/differential/parser/changeset/DifferentialChangesetParser.php index abe17d5e5d..8a83c19f2c 100644 --- a/src/applications/differential/parser/changeset/DifferentialChangesetParser.php +++ b/src/applications/differential/parser/changeset/DifferentialChangesetParser.php @@ -632,6 +632,8 @@ class DifferentialChangesetParser { try { $changeset = new DifferentialChangeset(); $conn_w = $changeset->establishConnection('w'); + + $unguarded = AphrontWriteGuard::beginScopedUnguardedWrites(); queryfx( $conn_w, 'INSERT INTO %T (id, cache, dateCreated) VALUES (%d, %s, %d)