1.6 KiB
1.6 KiB
id | title | challengeType | forumTopicId |
---|---|---|---|
587d8248367417b2b2512c3b | Prevent IE from Opening Untrusted HTML with helmet.ieNoOpen() | 2 | 301584 |
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
/**
Backend challenges don't need solutions,
because they would need to be tested against a full working project.
Please check our contributing guidelines to learn more.
*/