ooni / probe

OONI Probe network measurement tool for detecting internet censorship
https://ooni.org/install
BSD 3-Clause "New" or "Revised" License
751 stars 142 forks source link

ios: invalid handling of OONI Run v1 link with partial URL #2515

Closed bassosimone closed 11 months ago

bassosimone commented 11 months ago

Describe the bug

When running the iOS app with a partial URL (e.g., https://run.ooni.io/nettest?tn=web_connectivity&ta=%7B%22urls%22%3A%5B%22http%3A%2F%2F%22%5D%7D&mv=2.0.0), it somehow decides to run URLs from the test lists.

To Reproduce

Just run the above OONI Run v1 link.

Expected behavior

The Android app behaves correctly here. It passes the partial URL (http://) to the engine and the measurement fails.

This behavior is justified by the assumption that OONI Run is a superset of the command line. So, the failure we see on Android is equivalent to the one we see when running ./miniooni -i http:// web_connectivity@v0.5.

Screenshots

N/A

System information (please complete the following information):

Additional context

N/A