Page MenuHomePhabricator

D12117.id.diff
No OneTemporary

D12117.id.diff

diff --git a/src/applications/diffusion/controller/DiffusionLastModifiedController.php b/src/applications/diffusion/controller/DiffusionLastModifiedController.php
--- a/src/applications/diffusion/controller/DiffusionLastModifiedController.php
+++ b/src/applications/diffusion/controller/DiffusionLastModifiedController.php
@@ -153,6 +153,12 @@
number_format($lint));
}
+ // The client treats these results as markup, so make sure they have been
+ // escaped correctly.
+ foreach ($return as $key => $value) {
+ $return[$key] = hsprintf('%s', $value);
+ }
+
return $return;
}

File Metadata

Mime Type
text/plain
Expires
Tue, Apr 1, 9:38 AM (4 d, 9 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7224177
Default Alt Text
D12117.id.diff (619 B)

Event Timeline