Remove duplicate slashes in generated consent URLs

This commit is contained in:
Travis Ralston 2018-11-15 20:41:53 -07:00
parent 8b1affe7d5
commit ab4526a153
2 changed files with 3 additions and 3 deletions

View file

@ -473,7 +473,7 @@ class AuthHandler(BaseHandler):
"version": self.hs.config.user_consent_version,
"en": {
"name": self.hs.config.user_consent_policy_name,
"url": "%s/_matrix/consent?v=%s" % (
"url": "%s_matrix/consent?v=%s" % (
self.hs.config.public_baseurl,
self.hs.config.user_consent_version,
),