From 0f2ffc0dc066c1a097c5ee7c98d1f72c2fb5a436 Mon Sep 17 00:00:00 2001 From: Andrea Vos Date: Fri, 4 Dec 2020 23:26:59 +0100 Subject: [PATCH] [profile] pronouns to lower case --- routes/profile.vue | 1 + routes/profileEditor.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/routes/profile.vue b/routes/profile.vue index 0f789dbb4..e9a0bc30d 100644 --- a/routes/profile.vue +++ b/routes/profile.vue @@ -147,6 +147,7 @@ const link = decodeURIComponent( pronoun + .toLowerCase() .replace(new RegExp('^' + this.$base), '') .replace(new RegExp('^' + this.$base.replace(/^https?:\/\//, '')), '') .replace(new RegExp('^/'), '') diff --git a/routes/profileEditor.vue b/routes/profileEditor.vue index 3161643b0..a301c6a87 100644 --- a/routes/profileEditor.vue +++ b/routes/profileEditor.vue @@ -191,6 +191,7 @@ validatePronoun(pronoun) { const link = decodeURIComponent( pronoun + .toLowerCase() .replace(new RegExp('^' + this.$base), '') .replace(new RegExp('^' + this.$base.replace(/^https?:\/\//, '')), '') .replace(new RegExp('^/'), '')