-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Allow colons in Identity values #5029
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
Conversation
chingor13
left a comment
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.
Should we still throw an IllegalArgumentException if there's more parts than we expect?
google-cloud-clients/google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java
Show resolved
Hide resolved
Codecov Report
@@ Coverage Diff @@
## master #5029 +/- ##
============================================
- Coverage 50.38% 50.35% -0.04%
+ Complexity 23735 23684 -51
============================================
Files 2248 2242 -6
Lines 226478 226183 -295
Branches 24954 24961 +7
============================================
- Hits 114107 113886 -221
+ Misses 103778 103694 -84
- Partials 8593 8603 +10
Continue to review full report at Codecov.
|
google-cloud-clients/google-cloud-core/src/test/java/com/google/cloud/IdentityTest.java
Outdated
Show resolved
Hide resolved
…-java into allowcolons
This is to address internal bug 118884564. Identity is written for colons not to be allowed in the value, however colons are actually allowed in some legacy cases, like domain-scoped project IDs.