Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(webconnectivitylte): make IDNA WAI #1460

Merged
merged 1 commit into from
Jan 23, 2024
Merged

fix(webconnectivitylte): make IDNA WAI #1460

merged 1 commit into from
Jan 23, 2024

Conversation

bassosimone
Copy link
Contributor

@bassosimone bassosimone commented Jan 23, 2024

Checklist

Description

This diff fixes webconnectivitylte to make IDNA support working as intended.

It turns out existing code for supporting IDNA was not WAI for yandex.ru when using https://яндекс.рф/. I have fixed IDNA code, ensured we always use the same correct IDNA code, manually tested (see below), and then generated syntethic test cases for continuous integration.

See this measurement: https://explorer.ooni.org/m/20240123110911.104106_IT_webconnectivity_f0a3b891c176125b.

While there, I started adding initial support for printing the measurement URL based on the measurement UID.

Closes ooni/probe#1925.

Part of ooni/probe#2652.

This diff modifies webconnectivitylte to have full IDNA support.

It turns out existing code for supporting IDNA was not WAI for yandex.ru
when using https://яндекс.рф/. I have fixed IDNA code, I ensured we always
use the same IDNA code, manually tested (see below), and then generated
syntethic test cases for continuous integration.

See this measurement: https://explorer.ooni.org/m/20240123110911.104106_IT_webconnectivity_f0a3b891c176125b

While there, I started adding initial support for printing the measurement
URL based on the measurement UID.

Closes ooni/probe#1925.

Part of ooni/probe#2652.
@bassosimone bassosimone requested a review from hellais as a code owner January 23, 2024 11:44
@bassosimone bassosimone changed the title feat(webconnectivitylte): full IDNA support fix(webconnectivitylte): make IDNA WAI Jan 23, 2024
@bassosimone bassosimone merged commit 924cc55 into master Jan 23, 2024
11 checks passed
@bassosimone bassosimone deleted the issue/2299 branch January 23, 2024 11:58
Murphy-OrangeMud pushed a commit to Murphy-OrangeMud/probe-cli that referenced this pull request Feb 13, 2024
## Checklist

- [x] I have read the [contribution
guidelines](https://github.com/ooni/probe-cli/blob/master/CONTRIBUTING.md)
- [x] reference issue for this pull request:
ooni/probe#2652,
ooni/probe#1925
- [x] if you changed anything related to how experiments work and you
need to reflect these changes in the ooni/spec repository, please link
to the related ooni/spec pull request: not needed
- [x] if you changed code inside an experiment, make sure you bump its
version number: already bumped for 3.21.x

## Description

This diff fixes webconnectivitylte to make IDNA support working as
intended.

It turns out existing code for supporting IDNA was not WAI for yandex.ru
when using https://яндекс.рф/. I have fixed IDNA code, ensured we always
use the same correct IDNA code, manually tested (see below), and then
generated syntethic test cases for continuous integration.

See this measurement:
https://explorer.ooni.org/m/20240123110911.104106_IT_webconnectivity_f0a3b891c176125b.

While there, I started adding initial support for printing the
measurement URL based on the measurement UID.

Closes ooni/probe#1925.

Part of ooni/probe#2652.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

webconnectivity,websteps: correctly handle i18n domain names
1 participant