#92: Remove trailing slash from hostname

This commit is contained in:
Ryan Harg 2021-09-10 09:23:35 +02:00 committed by Ryan Harg
parent 6be60afdfb
commit 9d857de99a
2 changed files with 2 additions and 1 deletions

View File

@ -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 {

View File

@ -0,0 +1 @@
Remove trailing slash from hostname (#92)