8000 update conf.c: regular expression for password by reshadp · Pull Request #326 · tinyproxy/tinyproxy · GitHub
[go: up one dir, main page]

Skip to content

update conf.c: regular expression for password #326

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
update conf.c: regular expression for password
Change regular expression for password from `[^@]*` to `.*` this matches all characters including the @ character.
  • Loading branch information
Reshad Patuck authored Sep 28, 2020
commit 0c526514fb6f4d6f822e65c4a63978a156f231e5
2 changes: 1 addition & 1 deletion src/conf.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
#define INT "((0x)?[[:digit:]]+)"
#define ALNUM "([-a-z0-9._]+)"
#define USERNAME "([^:]*)"
#define PASSWORD "([^@]*)"
#define PASSWORD "(.*)"
#define IP "((([0-9]{1,3})\\.){3}[0-9]{1,3})"
#define IPMASK "(" IP "(/[[:digit:]]+)?)"
#define IPV6 "(" \
Expand Down
0