From f787cf0303159fdae9b5a53eca86d0985b1096ee Mon Sep 17 00:00:00 2001 From: Owen Kaluza Date: Thu, 21 Oct 2021 00:25:02 +0000 Subject: [PATCH] Modify regex group for username to allow periods Fix for #1076 --- coreplugins/editshortlinks/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreplugins/editshortlinks/plugin.py b/coreplugins/editshortlinks/plugin.py index f664e08d..e6418a0f 100644 --- a/coreplugins/editshortlinks/plugin.py +++ b/coreplugins/editshortlinks/plugin.py @@ -13,7 +13,7 @@ class Plugin(PluginBase): def root_mount_points(self): return [ - MountPoint(r'^s(?P[m3])/(?P[^/.]+)/(?P[A-Za-z0-9_-]+)/?$', HandleShortLink) + MountPoint(r'^s(?P[m3])/(?P[^/]+)/(?P[A-Za-z0-9_-]+)/?$', HandleShortLink) ] def api_mount_points(self):