[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #15035 [Applications/Orbot]: URI format for bridges
#15035: URI format for bridges
--------------------------------+-----------------------
Reporter: eighthave | Owner: n8fr8
Type: task | Status: new
Priority: Medium | Milestone:
Component: Applications/Orbot | Version:
Severity: Normal | Resolution:
Keywords: uri, url, bridge | Actual Points:
Parent ID: #28015 | Points:
Reviewer: | Sponsor:
--------------------------------+-----------------------
Comment (by eighthave):
One thing I forgot to include here is the possibility of including
multiple bridges in a single, clickable URL. All of the logic of
clickability and `https://` vs `bridge:` links applies. Allowing multiple
bridges in a single URL changes the concept of the URL, since a URL is
meant to point to a singular thing. It could be conceived of as a "bridge
line URL" vs a "bridge config URL".
The missing piece here is how to clearly mark a bridge URL with multiple
bridges so that it can be automatically detected. It could be done via:
* scheme: `bridge:` vs. `bridges:`
* host: `http://bridge.onion` vs `http://bridges.onion`
* path:
`https://bridges.torproject.org/bridges?transport0=meek_lite&ip0=0.0.2.0&port0=2&transport1=meek_&ip1=1.0.2.0&1port=4`
(there is no standard for encoding arrays in URLs, but `transport[]=`
might be a strong enough [https://stackoverflow.com/a/9547490 convention])
* query: `?bridge_config=y&...`
* etc...
The UX of single bridge URLs seems easier to map out, since clicking a
bridge URL maps cleanly to "add a bridge line". But this might mean more
clicks for the user, or other confusions. Clicking a bridge config URL is
not so clean. Does it mean replace all the bridge lines with what is in
the URL? Or just add all those bridges? So the best approach is going to
depend a lot on how users conceive of bridges and these URLs they are
clicking.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/15035#comment:17>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs