mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 07:28:28 +02:00
Trim whitespace and trailing slashes from a user entered homeserver address.
This commit is contained in:
@@ -30,6 +30,8 @@
|
||||
|
||||
#import "MXKSwiftHeader.h"
|
||||
|
||||
#import "GeneratedInterface-Swift.h"
|
||||
|
||||
@interface MXKAuthenticationViewController ()
|
||||
{
|
||||
/**
|
||||
@@ -1626,7 +1628,7 @@
|
||||
|
||||
- (void)updateRESTClient
|
||||
{
|
||||
NSString *homeserverURL = _homeServerTextField.text;
|
||||
NSString *homeserverURL = [HomeserverAddress sanitized:_homeServerTextField.text];
|
||||
|
||||
if (homeserverURL.length)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user