Browse Source
Merge pull request #3228 from BlockListed/fix-domain-description
Fix trailing slash not getting removed from domain
pull/3231/head^2
Daniel García
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
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(); |
|
|
|
|
|
|
|