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: invalid handling of OONI Run v1 link with partial URL #528

Merged
merged 3 commits into from
Jul 31, 2023

Conversation

aanorbel
Copy link
Member

Fixes ooni/probe#2515

Proposed Changes

  • Modified OoniRunViewController#validateLink to use updated code that allows a better validation.

Simulator Screenshot - iPhone 14 Pro - 2023-07-28 at 08 40 57

Copy link
Contributor

@bassosimone bassosimone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, write tests covering each of the possible error conditions. You can use https://www.onlinegdb.com/V81JCf11o to get some inspiration about possible test cases.

ooniprobe/View/OONIRun/OoniRunViewController.m Outdated Show resolved Hide resolved
@bassosimone bassosimone changed the title Fix: invalid handling of OONI Run v1 link with partial URL fix: invalid handling of OONI Run v1 link with partial URL Jul 28, 2023
Copy link
Member

@hellais hellais left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested a small fix, but otherwise LGTM 🐳

@aanorbel aanorbel requested a review from hellais July 31, 2023 11:23
@hellais
Copy link
Member

hellais commented Jul 31, 2023

Lgtm

@aanorbel aanorbel merged commit cc6fcc9 into master Jul 31, 2023
4 checks passed
@aanorbel aanorbel deleted the issues/2515 branch July 31, 2023 11:44
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.

ios: invalid handling of OONI Run v1 link with partial URL
3 participants