Opened 3 months ago

Closed 3 months ago

#24726 closed enhancement (fixed)

Make sure a comma never appears anywhere in a fallback entry

Reported by: teor Owned by: teor
Priority: Medium Milestone: Tor: 0.3.3.x-final
Component: Core Tor/Fallback Scripts Version:
Severity: Normal Keywords: fallback, review-group-28
Cc: teor@… Actual Points: 0.1
Parent ID: #22271 Points: 0.1
Reviewer: pastly Sponsor:


This possibly requires an update to our strong cleansing routines, or just adding a comment to them.

Child Tickets

Change History (10)

comment:1 Changed 3 months ago by teor

Actual Points: 0.1
Status: assignedneeds_review
Type: defectenhancement

This could confuse parsers, so we don't allow it.

Please see my branch ticket24726.

comment:2 Changed 3 months ago by teor

I have merged all fallback format 2.0.0 changes into my branch fallback-format-2.

comment:3 Changed 3 months ago by teor

See fallback-format-2-v2, which also removes equals signs.

comment:4 Changed 3 months ago by teor

I squashed the original branch into fallback-format-2-v3 on

comment:5 Changed 3 months ago by nickm

Keywords: review-group-28 added

comment:6 Changed 3 months ago by teor

Please see my revised branch fallback-format-2-v4 at

pastly found some whitelist and blacklist changes from #22321 that I'd accidentally included in some commits, so I took them out.

comment:7 Changed 3 months ago by pastly

Status: needs_reviewmerge_ready

Commas are in fact removed Tested by adding as,df to all nicknames and verifying output nicknames only had asdf added. Also visually checked code that all %s formatters in the fallback entry code had a call to cleanse_c_string.

LGTM, but make sure all fallback-format-2-v4 are merge_ready.

comment:8 Changed 3 months ago by teor

This code is now in my branch fallback-code-2018-01 at

comment:9 Changed 3 months ago by teor

Reviewer: pastly

pastly reviewed all of these

comment:10 Changed 3 months ago by teor

Resolution: fixed
Status: merge_readyclosed

This branch has been merged, so these tickets are now implemented,

Note: See TracTickets for help on using tickets.