search and replace ```\n< with ```\n\n< to ensure there's an empty line before closing tags
1.4 KiB
1.4 KiB
id, title, challengeType, videoUrl, localeTitle
id | title | challengeType | videoUrl | localeTitle |
---|---|---|---|---|
587d8248367417b2b2512c3b | Prevent IE from Opening Untrusted HTML with helmet.ieNoOpen() | 2 | 使用helmet.ieNoOpen()阻止IE打开不受信任的HTML |
Description
Instructions
Tests
tests:
- text: helmet.ieNoOpen()中间件应正确安装
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
/section>