1.4 KiB
1.4 KiB
id | title | challengeType |
---|---|---|
587d8248367417b2b2512c3b | Prevent IE from Opening Untrusted HTML with helmet.ieNoOpen() | 2 |
Description
Instructions
Tests
tests:
- text: helmet.ieNoOpen() middleware should be mounted correctly
testString: getUserInput => $.get(getUserInput('url') + '/_api/app-info').then(data => { assert.include(data.appStack, 'ienoopen'); assert.equal(data.headers['x-download-options'], 'noopen'); }, xhr => { throw new Error(xhr.responseText); })
Challenge Seed
Solution
// solution required