commit e301fe137fa05f3efe918c27192e05576b48458f
parent 53fa8da5b1b29377ae285b09530093bae9be4129
Author: Daniel GarcĂa <dani-garcia@users.noreply.github.com>
Date: Sun, 12 Feb 2023 18:42:55 +0100
Merge pull request #3228 from BlockListed/fix-domain-description
Fix trailing slash not getting removed from domain
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/config.rs b/src/config.rs
@@ -141,6 +141,8 @@ macro_rules! make_config {
)+)+
config.domain_set = _domain_set;
+ config.domain = config.domain.trim_end_matches('/').to_string();
+
config.signups_domains_whitelist = config.signups_domains_whitelist.trim().to_lowercase();
config.org_creation_users = config.org_creation_users.trim().to_lowercase();