Skip to content

Commit

Permalink
Merge pull request dani-garcia#3228 from BlockListed/fix-domain-descr…
Browse files Browse the repository at this point in the history
…iption

Fix trailing slash not getting removed from domain
  • Loading branch information
dani-garcia authored Feb 12, 2023
2 parents 53fa8da + af69c83 commit e301fe1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit e301fe1

Please sign in to comment.