Open xzycn opened 6 years ago
There has a problem when the character “@” within password, maybe we should make the regex pattern more compatible? :) Here is my solution:
parts = re.match('(\w+://)([^:]+?:.+@)?(.+)', line.strip())
instead of
parts = re.match('(\w+://)([^:]+?:[^@]+?@)?(.+)', line.strip())
Included in my pull request to add compatibility with splash browser
There has a problem when the character “@” within password, maybe we should make the regex pattern more compatible? :) Here is my solution:
instead of