Opened 6 weeks ago

Closed 5 weeks ago

#27428 closed defect (implemented)

require ContactInfo line to be UTF-8

Reported by: cyberpunks Owned by:
Priority: Medium Milestone: Tor: 0.3.5.x-final
Component: Core Tor/Tor Version:
Severity: Normal Keywords: rust-wants, prop285
Cc: teor Actual Points:
Parent ID: #27380 Points:
Reviewer: teor Sponsor:

Description


Child Tickets

Change History (8)

comment:1 Changed 6 weeks ago by cyberpunks

per teor, this change for the 0.3.5 LTS is in the unicode-contactinfo1 branch at https://gitgud.io/onionk/tor.git

comment:2 Changed 5 weeks ago by nickm

Status: newneeds_review

comment:3 Changed 5 weeks ago by nickm

Reviewer: teor

This looks good to me. teor, can you confirm that your "merge_ready" on #27373 applies here too?

comment:4 Changed 5 weeks ago by teor

Status: needs_reviewmerge_ready

This patch looks good to me.

It's ok to start warning on relays, before authorities start rejecting descriptors.

Eventually, we should add UTF-8 and invalid ContactInfos to test_options.c. I opened #27645 for these tests.

comment:5 Changed 5 weeks ago by teor

I opened a pull request, so that appveyor CI runs properly on this branch:
https://github.com/torproject/tor/pull/318

comment:6 in reply to:  5 Changed 5 weeks ago by cyberpunks

FAIL: src/test/test

protover/vote:

FAIL src/test/test_protover.c:175: assert(result OP_EQ ""): <Bar=2> vs <>
[vote FAILED]

1/1145 TESTS FAILED. (11 skipped)

The test from #27205 is failing on --enable-rust CI builds apparently?

Last edited 5 weeks ago by cyberpunks (previous) (diff)

comment:7 Changed 5 weeks ago by nickm

Merged this; I believe the test failure is unrelated.

comment:8 Changed 5 weeks ago by nickm

Resolution: implemented
Status: merge_readyclosed
Note: See TracTickets for help on using tickets.