Open lovegreen1321 opened 3 years ago
Merge this bad boy!
This breaks a test, as the new regexp accepts anything between 16 and 56:
https://github.com/s-rah/onionscan/blob/master/utils/validation_test.go#L29=
I think (^|\.)[a-z2-7]{16}\.onion$|(^|\.)[a-z2-7]{56}\.onion$
would be more correct, as matches either 16 or 56 length domain names.
@s-rah
Changed