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

Parser issue detected #25

Closed
jogli5er opened this issue Jun 7, 2018 · 0 comments
Closed

Parser issue detected #25

jogli5er opened this issue Jun 7, 2018 · 0 comments

Comments

@jogli5er
Copy link
Member

jogli5er commented Jun 7, 2018

We found examples in which our parser fails to produce a correct onion uri. (See example below)
To fix the issue, I will implement a preciser Regex (as discussed on slack): Make it exactly 16 or 56 characters long, disallow usage of chars except a-z2-7
Example:
<a href="/r?q=hard+candy+hidden+wiki&amp;l=http%253A%252F%252Fwikitjen6oesqvzj.onion%252Fwiki%252Findex.php%253Ftitle%253DMain_Page%2526action%253Dedit%2526section%253D1&amp;p=1&amp;u=116897">

@jogli5er jogli5er closed this as completed Jun 9, 2018
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

No branches or pull requests

1 participant