mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-08-13 16:35:32 -04:00
base64 fix and turn off dht caching until we have background sync
This commit is contained in:
parent
c9653bab18
commit
d631b7308b
5 changed files with 18 additions and 16 deletions
|
@ -54,7 +54,10 @@ class PasteInviteDialogState extends ConsumerState<PasteInviteDialog> {
|
|||
if (lastline <= firstline) {
|
||||
return;
|
||||
}
|
||||
final inviteDataBase64 = lines.sublist(firstline, lastline).join();
|
||||
final inviteDataBase64 = lines
|
||||
.sublist(firstline, lastline)
|
||||
.join()
|
||||
.replaceAll(RegExp(r'[^A-Za-z0-9\-_]'), '');
|
||||
final inviteData = base64UrlNoPadDecode(inviteDataBase64);
|
||||
|
||||
await validateInviteData(inviteData: inviteData);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue