-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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
bugfix: remove the condition that IPv6 must start with fe80: #7112
Conversation
…x will not be checked. remove starting with "fe80:"
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 2.x #7112 +/- ##
============================================
- Coverage 53.19% 53.19% -0.01%
- Complexity 6799 6800 +1
============================================
Files 1133 1133
Lines 40302 40301 -1
Branches 4721 4723 +2
============================================
- Hits 21440 21439 -1
+ Misses 16820 16817 -3
- Partials 2042 2045 +3
|
String ipPart = input.substring(ZERO, lastIndex); | ||
return isIPv6StdAddress(ipPart) || isIPv6HexCompressedAddress(ipPart); | ||
} | ||
int lastIndex = input.lastIndexOf(PERCENT); |
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.
请增加一个测试用例
Please add a test case
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.
新增isLinkLocalIPv6WithZoneIndex方法测试用例
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.
LGTM
请将pr登记至2.x.md的中英两版文件中
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.
LGTM
…x will not be checked. remove starting with "fe80:"
Ⅰ. Describe what this PR did
Ⅱ. Does this pull request fix one issue?
fixes #7110
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews