Skip to content
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

Email QRCode shows "+" instead of spaces in subject and body #287

Open
duongnx25 opened this issue Aug 9, 2023 · 1 comment
Open

Email QRCode shows "+" instead of spaces in subject and body #287

duongnx25 opened this issue Aug 9, 2023 · 1 comment

Comments

@duongnx25
Copy link

duongnx25 commented Aug 9, 2023

Hi, I see this has been reported before but I still have it.
When generating a QR code using the email function, if subject and body have space and scan the QR code using Iphone, the Mail app of Iphone will convert all space to "+".
This doesn't occur on Android

Here's an example SVG file:

efd1502e0f867942382f852ea956c8cbb16b22b7

@simonhamp
Copy link

If instead of leaving the spaces you correctly URL-encode the URL before passing it to the QR code, so that the spaces are percent-encoded (e.g. mailto:[email protected]?subject=Testing%20a%20multi-word%20subject)

Does that work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants