Browse Source

Merge branch 'bugfix/92-remove-hostname-trailing-slash' into 'develop'

#92: Remove trailing slash from hostname

Closes #92

See merge request funkwhale/funkwhale-android!102
housekeeping/mavenCentral
Ryan Harg 3 years ago
parent
commit
81dea70ebe
  1. 2
      app/src/main/java/audio/funkwhale/ffa/activities/LoginActivity.kt
  2. 1
      changes/changelog.d/92.bugfix

2
app/src/main/java/audio/funkwhale/ffa/activities/LoginActivity.kt

@ -69,7 +69,7 @@ class LoginActivity : AppCompatActivity() { @@ -69,7 +69,7 @@ class LoginActivity : AppCompatActivity() {
super.onResume()
with(binding) {
login.setOnClickListener {
var hostname = hostname.text.toString().trim()
var hostname = hostname.text.toString().trim().trim('/')
try {
validateHostname(hostname, cleartext.isChecked)?.let {

1
changes/changelog.d/92.bugfix

@ -0,0 +1 @@ @@ -0,0 +1 @@
Remove trailing slash from hostname (#92)
Loading…
Cancel
Save