Commit 2706dcaa authored by Ryan Harg's avatar Ryan Harg
Browse files

Merge branch 'bugfix/88-fix-hostname-prefix-handling' into 'develop'

#88: Fix hostname scheme prefix handling

Closes #88

See merge request funkwhale/funkwhale-android!87
parents 4e0279a7 fec95a73
......@@ -121,7 +121,7 @@ class LoginActivity : AppCompatActivity() {
if (hostname.isEmpty()) {
return getString(R.string.login_error_hostname)
}
if (!cleartext && hostname.startsWith("http")) {
if (!cleartext && hostname.startsWith("http://")) {
return getString(R.string.login_error_hostname_https)
}
return null
......
Fix handling of hostname 'https://' scheme prefix (#88)
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment