Browse Source

#92: Remove trailing slash from hostname

housekeeping/mavenCentral
Ryan Harg 3 years ago committed by Ryan Harg
parent
commit
9d857de99a
  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