Page MenuHomePhabricator

D9713.diff
No OneTemporary

D9713.diff

diff --git a/lib/utils/sanitization.js b/lib/utils/sanitization.js
--- a/lib/utils/sanitization.js
+++ b/lib/utils/sanitization.js
@@ -134,7 +134,7 @@
function scrambleText(str: string): string {
const arr = [];
- for (const char of str) {
+ for (const char of new String(str)) {
if (char === ' ') {
arr.push(' ');
continue;

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 25, 8:17 PM (10 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2703069
Default Alt Text
D9713.diff (353 B)

Event Timeline