mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 09:32:52 +02:00
matrix.to: Cannot open links with query parameters
#3990 The string can come percent encoded but we parse it with ascii chars ("?", "&", ...). So, remove one layer of encoding to fix the bug.
This commit is contained in:
@@ -1255,6 +1255,10 @@ NSString *const AppDelegateUniversalLinkDidChangeNotification = @"AppDelegateUni
|
||||
|
||||
NSLog(@"[AppDelegate] Universal link: handleUniversalLinkFragment: %@", fragment);
|
||||
|
||||
// Make sure we have plain utf8 character for separators
|
||||
fragment = [fragment stringByRemovingPercentEncoding];
|
||||
NSLog(@"[AppDelegate] Universal link: handleUniversalLinkFragment: %@", fragment);
|
||||
|
||||
// The app manages only one universal link at a time
|
||||
// Discard any pending one
|
||||
[self resetPendingUniversalLink];
|
||||
|
||||
Reference in New Issue
Block a user