mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-30 16:38:21 +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 {
|
try {
|
||||||
$changeset = new DifferentialChangeset();
|
$changeset = new DifferentialChangeset();
|
||||||
$conn_w = $changeset->establishConnection('w');
|
$conn_w = $changeset->establishConnection('w');
|
||||||
|
|
||||||
|
$unguarded = AphrontWriteGuard::beginScopedUnguardedWrites();
|
||||||
queryfx(
|
queryfx(
|
||||||
$conn_w,
|
$conn_w,
|
||||||
'INSERT INTO %T (id, cache, dateCreated) VALUES (%d, %s, %d)
|
'INSERT INTO %T (id, cache, dateCreated) VALUES (%d, %s, %d)
|
||||||
|
|
Loading…
Add table
Reference in a new issue