Skip to content

Commit

Permalink
Merge pull request #993 from fodhelper/fix-fragment-regex
Browse files Browse the repository at this point in the history
regex fix
  • Loading branch information
SaintShit authored May 19, 2024
2 parents c994110 + d57e1a0 commit a13d8fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
XTLSFlows
)

FRAGMENT_PATTERN = re.compile(r'^(\d{1,3}-\d{1,3}),(\d{1,3}-\d{1,3}),(tlshello|\d|\d\-\d)$')
FRAGMENT_PATTERN = re.compile(r'^((\d{1,3}-\d{1,3})|(\d{1,3})),((\d{1,3}-\d{1,3})|(\d{1,3})),(tlshello|\d|\d\-\d)$')


class ProxyTypes(str, Enum):
Expand Down

0 comments on commit a13d8fb

Please sign in to comment.