Remove * from invalid characters

This is already part of other URLs and channels, will be removed from spec as it won't be used for sequencing.
This commit is contained in:
Thomas Zarebczan 2020-11-16 14:09:04 -05:00 committed by GitHub
parent 2619e162c1
commit c8466afac2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@ from typing import NamedTuple, Tuple
def _create_url_regex(): def _create_url_regex():
# see https://spec.lbry.com/ and test_url.py # see https://spec.lbry.com/ and test_url.py
invalid_names_regex = \ invalid_names_regex = \
r"[^=&#:$@%*?;\"/\\<>%{}|^~`\[\]" \ r"[^=&#:$@%?;\"/\\<>%{}|^~`\[\]" \
r"\u0000-\u0020\uD800-\uDFFF\uFFFE-\uFFFF]+" r"\u0000-\u0020\uD800-\uDFFF\uFFFE-\uFFFF]+"
def _named(name, regex): def _named(name, regex):