[tor-bugs] #21366 [Metrics/Atlas]: support whitespace in search term (as does onionoo)

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Feb 1 22:30:48 UTC 2017


#21366: support whitespace in search term (as does onionoo)
---------------------------+---------------------
 Reporter:  cypherpunks    |          Owner:  irl
     Type:  defect         |         Status:  new
 Priority:  Medium         |      Milestone:
Component:  Metrics/Atlas  |        Version:
 Severity:  Normal         |     Resolution:
 Keywords:                 |  Actual Points:
Parent ID:                 |         Points:
 Reviewer:                 |        Sponsor:
---------------------------+---------------------

Comment (by cypherpunks):

 Replying to [comment:8 karsten]:
 > Well, the idea of using (double) quotes for qualified search terms
 containing spaces would work.  I'm just not sure how intuitive that would
 be.  And somebody would have to build it. :)

 I assume this would require an onionoo change (I guess this is less likely
 to be implemented).

 > Another option would be that Atlas provides an extended search of some
 kind where it has inputs for other parameters than Onionoo's `search`
 parameter.  For example, there could be a contact input field, and Atlas
 would simply pass anything in that field to Onionoo's `contact` parameter

 ok, so the option with the least amount of effort would be the
 contactonly:...
 option to tell atlas to ask
 ​https://onionoo.torproject.org/summary?contact=...
 instead of
 ​​https://onionoo.torproject.org/summary?search=contact:...

 since it does not require any atlas UI changes.

 I have no opinion on how this is actually done as long as the use case is
 possible.

 Either way the implementer decides - as usual, I hope there will be one.

 It is somehow sad that you can use atlas to make a powerful search over
 many fields but you can not make a simple search using a single field if
 your searchterm contains a whitespace.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21366#comment:9>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list