Merge pull request #8387 from wakeup/master

Update outdated comment
This commit is contained in:
Lukas Reschke 2014-04-28 21:00:22 +02:00
commit 318eaa9f56
1 changed files with 1 additions and 1 deletions

View File

@ -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())));
}