-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BZ #1868971 - Escape passwords containing a percent sign (#23)
Python's ConfigParser[1] introduces some non-standard syntax for referencing other parts of the ini file. Unless a % sign is escaped with another %, the parser will crash, emitting the "unreadable" value into the logs. This change escapes all user-provided inputs which end up in receptor's config, except for URLs [1] - https://docs.python.org/3/library/configparser.html#configparser.BasicInterpolation
- Loading branch information
1 parent
2bf6c63
commit c56e30a
Showing
2 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters