Skip to content
Snippets Groups Projects
Commit 318eaa9f authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Merge pull request #8387 from wakeup/master

Update outdated comment
parents e055a411 e7c6111a
Branches
No related tags found
No related merge requests found
......@@ -117,7 +117,7 @@ class Updater extends BasicEmitter {
* START CONFIG CHANGES FOR OLDER VERSIONS
*/
if (!\OC::$CLI && version_compare($installedVersion, '6.90.1', '<')) {
// Add the overwriteHost config if it is not existant
// Add the trusted_domains config if it is not existant
// This is added to prevent host header poisoning
\OC_Config::setValue('trusted_domains', \OC_Config::getValue('trusted_domains', array(\OC_Request::serverHost())));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment