mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-30 08:28:20 +01:00
This is also an unguarded but CSRF-safe cache write.
This commit is contained in:
parent
30abed8b05
commit
88eb6410b3
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue