forked from spesmilo/electrum
-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sanitize host names when building certificate file names
Introduces a new dependency on `pathvalidate` (https://pypi.org/project/pathvalidate/) which is used to sanitize certificate file names. Previously it was possible to to generate bad filenames, for example by connecting directly to an IPV6 address. fixes #2137
- Loading branch information
Showing
3 changed files
with
7 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,4 @@ qdarkstyle==2.6.8 | |
python-dateutil<2.9 | ||
stem>=1.8.0 | ||
certifi | ||
pathvalidate |
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