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