Skip to content

Handle correctly HSv3 URL checking

Guinness requested to merge guinness/tor:#33873-SOCKS-extended-errors into master

Now the function parse_extended_hostname returns a new value BAD_V3_HOSTNAME for invalid HS v3 hostnames : too long or invalid address. This case is then handled when the function is called. The documentation has been updated.

Additionnaly some tests were added in order to improve the test coverage of this function.

Fixes #33873 (closed)

Edited by Guinness

Merge request reports