-
Notifications
You must be signed in to change notification settings - Fork 339
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 IPv6 parsing in API access methods and custom DNS #6852
Fix IPv6 parsing in API access methods and custom DNS #6852
Conversation
7f98e1f
to
7d53151
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 0 of 5 files reviewed, 1 unresolved discussion (waiting on @rablador)
ios/MullvadVPNTests/MullvadTypes/AnyIPAddressTests.swift
line 25 at r1 (raw file):
XCTAssertNotNil(AnyIPAddress("2a03:1b20:1:f011::bb09")) XCTAssertNotNil(AnyIPAddress("FE80:0000:0000:0000:0202:B3FF:FE1E:8329")) }
I suggest to add more IPs to be tested out:
Code snippet:
XCTAssertNotNil(AnyIPAddress("2001:0db8:0000:0042:0000:8a2e:0370:7334"))
XCTAssertNotNil(AnyIPAddress("2001:db8::42:0:8a2e:370:7334"))
XCTAssertNotNil(AnyIPAddress("::1"))
XCTAssertNotNil(AnyIPAddress("::"))
XCTAssertNotNil(AnyIPAddress("::ffff:192.168.1.1"))
XCTAssertNotNil(AnyIPAddress("fe80::1ff:fe23:4567:890a"))
XCTAssertNotNil(AnyIPAddress("ff02::1"))
XCTAssertNotNil(AnyIPAddress("2001:0db8:85a3::8a2e:0370:7334"))
XCTAssertNotNil(AnyIPAddress("fc00::1234:5678:abcd"))
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 0 of 5 files reviewed, 1 unresolved discussion (waiting on @rablador)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 0 of 5 files reviewed, 1 unresolved discussion (waiting on @mojganii)
ios/MullvadVPNTests/MullvadTypes/AnyIPAddressTests.swift
line 25 at r1 (raw file):
Previously, mojganii wrote…
I suggest to add more IPs to be tested out:
Done.
7d53151
to
1fd4bf2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 5 files at r1, 2 of 2 files at r2, all commit messages.
Reviewable status: 4 of 5 files reviewed, 1 unresolved discussion (waiting on @mojganii)
711b744
to
f3d2fd4
Compare
f3d2fd4
to
fe8062e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 2 of 5 files reviewed, 1 unresolved discussion (waiting on @buggmagnet)
fe8062e
to
d33909e
Compare
🚨 End to end tests failed. Please check the failed workflow run. |
Acceptance criteria:
This change is