Merge pull request #88 from nextcloud/add-strict-cookie-check-also-to-config-js

[stable9] Add strict config check to config.js
pull/114/head
Morris Jobke 2016-06-15 12:37:39 +07:00 committed by GitHub
commit 7d3bc95fa6
1 changed files with 4 additions and 0 deletions

@ -32,6 +32,10 @@
*
*/
if(!\OC::$server->getRequest()->passesStrictCookieCheck()) {
die();
}
// Set the content type to Javascript
header("Content-type: text/javascript");