Compare commits
1 commit
6df59833a4
...
1981ba2785
Author | SHA1 | Date | |
---|---|---|---|
1981ba2785 |
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ data class EuiccConfiguredAddresses(
|
|||
|
||||
private fun isValid(address: String): Boolean {
|
||||
if (address.isBlank()) return false
|
||||
if (address.endsWith(".gsma.com")) return address == "lpa.ds.gsma.com"
|
||||
if (address.endsWith(".example.com")) return false
|
||||
if (address.endsWith("gsma.com")) return false
|
||||
if (address.endsWith("example.com")) return false
|
||||
return Patterns.DOMAIN_NAME.matcher(address).matches()
|
||||
}
|
Loading…
Add table
Reference in a new issue