owncloud/core — pull request #7259 by LukasReschke (2014-02-18 15:35:32+00:00)
Title: Add overwritehost config on setup and upgrade

overwritehost should always be configured to prevent Host Header Poisoning, this commit adds the config option on upgrade and on new installations automatically.

Backport to stable5 and stable6 requested. But I assume the code base is too different for a simple cherry pick.

\cc @karlitschek