[indico-web] Extend the regex, rewrite to event id



commit 093a11cee408d27b33d45f9e222d8f1c28299965
Author: Andrea Veri <av gnome org>
Date:   Tue Jun 29 14:33:51 2021 +0000

    Extend the regex, rewrite to event id

 static/indico.conf | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/static/indico.conf b/static/indico.conf
index 683d027..f549db3 100644
--- a/static/indico.conf
+++ b/static/indico.conf
@@ -21,8 +21,6 @@ server {
     return 404;
   }
 
-  rewrite ^/event/\d+/registrations/\d+/check-email - last;
+  rewrite ^/event/\d+/registrations/\d+/check-email(.*)$ /event/$1 last;
   return 200;
-
-
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]