Skip to content

set X-Content-Type-Options to nosnif for jsonp responses#1810

Merged
hueniverse merged 1 commit intohapijs:masterfrom
patrickkettner:add-nosniff
Aug 4, 2014
Merged

set X-Content-Type-Options to nosnif for jsonp responses#1810
hueniverse merged 1 commit intohapijs:masterfrom
patrickkettner:add-nosniff

Conversation

@patrickkettner
Copy link
Copy Markdown
Contributor

result of the conversations from #1766

specifically

This would have prevented the ... vulnerability too ... and it might prevent similar attacks that bypass the /**/-based protection in the future

@mathiasbynens
Copy link
Copy Markdown

👍

@hueniverse hueniverse added this to the 6.3.1 milestone Aug 4, 2014
@hueniverse hueniverse self-assigned this Aug 4, 2014
hueniverse pushed a commit that referenced this pull request Aug 4, 2014
set X-Content-Type-Options to nosnif for jsonp responses
@hueniverse hueniverse merged commit 1a8ee79 into hapijs:master Aug 4, 2014
@lock
Copy link
Copy Markdown

lock bot commented Jan 9, 2020

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

feature New functionality or improvement security Issue with security impact

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants