Merge pull request #555 from bunkerity/dev

merge branch "dev" into branch "staging"
This commit is contained in:
Théophile Diot 2023-07-07 13:16:16 -04:00 committed by GitHub
commit db413cc032
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -1,8 +1,8 @@
#!/usr/bin/python3
from argparse import ArgumentParser
from os import R_OK, X_OK, access, environ, getenv, listdir, sep, walk
from os.path import basename, join, normpath
from os import R_OK, X_OK, access, environ, getenv, sep
from os.path import join, normpath
from pathlib import Path
from re import compile as re_compile
from sys import exit as sys_exit, path as sys_path

View file

@ -50,7 +50,7 @@
"help": "List of the virtual hosts served by bunkerweb.",
"id": "server-name",
"label": "Server name",
"regex": "^(?! )( ?((?=[^ ]{1,255}( |$))[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?(?:\\.[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?)*\\.?)(?!.* \\2))*$",
"regex": "^(?! )( ?((?=[^ ]{1,255}( |$))[^ ]+)(?!.* \\2))*$",
"type": "text"
},
"WORKER_PROCESSES": {