Skip to content
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

Fix tor v3 address validation #4346

Merged
merged 1 commit into from Jul 2, 2020
Merged

Fix tor v3 address validation #4346

merged 1 commit into from Jul 2, 2020

Conversation

ghost
Copy link

@ghost ghost commented Jun 30, 2020

The regex validation for addresses was not accepting tor v3 format. This patch allows tor v3 addresses which are always 56 chars in length (whereas tor v2 addresses are always 16 chars in length). Tests have been included.

before, does not allow tor v3 address:
image

after, allows tor v3 address:
image

The regex validation for addresses was not accepting tor v3 format.
This patch allows tor v3 addresses which are always 56 chars in length
(whereas tor v2 addresses are always 16 chars in length).
Copy link
Contributor

@ripcurlx ripcurlx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK - Thanks! 👍

@ripcurlx ripcurlx merged commit 149cf13 into bisq-network:master Jul 2, 2020
@ripcurlx ripcurlx added this to the v1.3.6 milestone Jul 6, 2020
@ghost ghost mentioned this pull request Jul 12, 2020
@ghost ghost deleted the fix_regex_tor3 branch September 14, 2020 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant