diff --git a/shared/src/commonMain/kotlin/bou/amine/apps/readerforselfossv2/service/AppSettingsService.kt b/shared/src/commonMain/kotlin/bou/amine/apps/readerforselfossv2/service/AppSettingsService.kt index 1b4a861..46c2475 100644 --- a/shared/src/commonMain/kotlin/bou/amine/apps/readerforselfossv2/service/AppSettingsService.kt +++ b/shared/src/commonMain/kotlin/bou/amine/apps/readerforselfossv2/service/AppSettingsService.kt @@ -441,7 +441,7 @@ class AppSettingsService(acraSenderServiceProcess: Boolean = false) { login: String, password: String, ) { - val regex = """\/\/(\D+):(\D+)@""".toRegex() + val regex = """\/\/(\S+):(\S+)@""".toRegex() val matchResult = regex.find(url) if (matchResult != null) { val (basicLogin, basicPassword) = matchResult.destructured