fix(patterns): Make the trailing slash optional

This commit is contained in:
Tom Hubrecht 2024-07-04 13:53:52 +02:00
parent b2b1a8f441
commit 7ccd38f463

View file

@ -5,7 +5,7 @@
"fields": {
"pos": 100,
"name": "ENS-PSL",
"pattern": "^https?://[a-z0-9.\\-]+\\.ens\\.(fr|psl\\.eu)/.*$",
"pattern": "^https?://[a-z0-9.\\-]+\\.ens\\.(fr|psl\\.eu)(/.*)?$",
"user_field": "",
"restrict_users": false,
"proxy": false,
@ -20,7 +20,7 @@
"fields": {
"pos": 100,
"name": "DGNum",
"pattern": "^https?://[a-z0-9.\\-]+\\.dgnum\\.(fr|eu)/.*$",
"pattern": "^https?://[a-z0-9.\\-]+\\.dgnum\\.(fr|eu)(/.*)?$",
"user_field": "",
"restrict_users": false,
"proxy": false,
@ -35,7 +35,7 @@
"fields": {
"pos": 90,
"name": "localhost",
"pattern": "^https?://(127\\.0\\.0\\.1|localhost)(:\\d+)?/.*$",
"pattern": "^https?://(127\\.0\\.0\\.1|localhost)(:\\d+)?(/.*)?$",
"user_field": "",
"restrict_users": false,
"proxy": false,