owncloud httpd-service: fix trusted_domain when unset
When an empty string was given as trusted_domain, the trusted domain was set to be empty string instead of not beeing set.
This commit is contained in:
parent
16fd6c1cf0
commit
9d5bf282c7
@ -70,7 +70,7 @@ let
|
|||||||
"proxyuserpwd" => "",
|
"proxyuserpwd" => "",
|
||||||
|
|
||||||
/* List of trusted domains, to prevent host header poisoning ownCloud is only using these Host headers */
|
/* List of trusted domains, to prevent host header poisoning ownCloud is only using these Host headers */
|
||||||
'trusted_domains' => array('${config.trustedDomain}'),
|
${if config.trustedDomain != "" then "'trusted_domains' => array('${config.trustedDomain}')," else ""}
|
||||||
|
|
||||||
/* Theme to use for ownCloud */
|
/* Theme to use for ownCloud */
|
||||||
"theme" => "",
|
"theme" => "",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user