fix(patterns): Make the trailing slash optional
This commit is contained in:
parent
b2b1a8f441
commit
7ccd38f463
1 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@
|
||||||
"fields": {
|
"fields": {
|
||||||
"pos": 100,
|
"pos": 100,
|
||||||
"name": "ENS-PSL",
|
"name": "ENS-PSL",
|
||||||
"pattern": "^https?://[a-z0-9.\\-]+\\.ens\\.(fr|psl\\.eu)/.*$",
|
"pattern": "^https?://[a-z0-9.\\-]+\\.ens\\.(fr|psl\\.eu)(/.*)?$",
|
||||||
"user_field": "",
|
"user_field": "",
|
||||||
"restrict_users": false,
|
"restrict_users": false,
|
||||||
"proxy": false,
|
"proxy": false,
|
||||||
|
@ -20,7 +20,7 @@
|
||||||
"fields": {
|
"fields": {
|
||||||
"pos": 100,
|
"pos": 100,
|
||||||
"name": "DGNum",
|
"name": "DGNum",
|
||||||
"pattern": "^https?://[a-z0-9.\\-]+\\.dgnum\\.(fr|eu)/.*$",
|
"pattern": "^https?://[a-z0-9.\\-]+\\.dgnum\\.(fr|eu)(/.*)?$",
|
||||||
"user_field": "",
|
"user_field": "",
|
||||||
"restrict_users": false,
|
"restrict_users": false,
|
||||||
"proxy": false,
|
"proxy": false,
|
||||||
|
@ -35,7 +35,7 @@
|
||||||
"fields": {
|
"fields": {
|
||||||
"pos": 90,
|
"pos": 90,
|
||||||
"name": "localhost",
|
"name": "localhost",
|
||||||
"pattern": "^https?://(127\\.0\\.0\\.1|localhost)(:\\d+)?/.*$",
|
"pattern": "^https?://(127\\.0\\.0\\.1|localhost)(:\\d+)?(/.*)?$",
|
||||||
"user_field": "",
|
"user_field": "",
|
||||||
"restrict_users": false,
|
"restrict_users": false,
|
||||||
"proxy": false,
|
"proxy": false,
|
||||||
|
|
Loading…
Reference in a new issue