-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't create cover, containing non-English words #19
Comments
I believe using the following code instead would be better: The line could be changed to this: const valid = secret && (DontUseCover || cover?.trim().includes(' ')); |
Yeah, that should work too. |
Added! Thanks for making me aware of this issue! |
Something doesn't work still.
But I can encrypt with covers:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The problem part is:
invisible-chat/src/components/EncryptionModal.tsx
Line 23 in 98985bf
\w \w
Regex doesn't match non-English symbols (and also words splitted with 2 spaces):How about changing in to
.( )+.
, so it was those two symbols separated by any count of spaces?The text was updated successfully, but these errors were encountered: