Skip to content

Commit 9109fcb

Browse files
committed
Update vulnerabilities.spec.js
1 parent 2053572 commit 9109fcb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

spec/vulnerabilities.spec.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -858,8 +858,9 @@ describe('(GHSA-mf3j-86qx-cq5j) ReDoS via $regex in LiveQuery subscription', ()
858858
expect(elapsed).toBeLessThan(timeout + 1000);
859859
client.close();
860860
});
861+
});
861862

862-
describe('(GHSA-3jmq-rrxf-gqrg) Stored XSS via file serving', () => {
863+
describe('(GHSA-3jmq-rrxf-gqrg) Stored XSS via file serving', () => {
863864
it('sets X-Content-Type-Options: nosniff on file GET response', async () => {
864865
const file = new Parse.File('hello.txt', [1, 2, 3], 'text/plain');
865866
await file.save({ useMasterKey: true });
@@ -886,6 +887,4 @@ describe('(GHSA-mf3j-86qx-cq5j) ReDoS via $regex in LiveQuery subscription', ()
886887
});
887888
expect(response.headers['x-content-type-options']).toBe('nosniff');
888889
});
889-
890-
});
891890
});

0 commit comments

Comments
 (0)