Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a23296d

Browse files
authored
Merge pull request #80 from Yelp/improved-performance-for-basic-auth-plugin
More performant BasicAuth plugin
2 parents 9445982 + 06c3b47 commit a23296d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

detect_secrets/plugins/basic_auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88

99
BASIC_AUTH_REGEX = re.compile(
10-
r'.*?://[^:]+:([^@]+)@',
10+
r'://[^:]+:([^@]+)@',
1111
)
1212

1313

0 commit comments

Comments
 (0)