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

Missing '?' and '&' characters in query string of output #2

Open
joshbader opened this issue Jan 15, 2019 · 8 comments
Open

Missing '?' and '&' characters in query string of output #2

joshbader opened this issue Jan 15, 2019 · 8 comments

Comments

@joshbader
Copy link

Missing '?' and '&' characters in query string of output prior clicking the copy button.

@mckeever02
Copy link
Owner

Yeah the formatting is ran when the copy button is clicked. Seemed like an easier solution than listening to key events.

@joshbader
Copy link
Author

You could always try throttling or debouncing the keyup event and then run the formate function.

@insign
Copy link

insign commented Mar 7, 2019

I identified some bug in my tests: mailto:a@helio.me?cc=dsdsd@gmail.com&?subject=Teste&body=asdasdsadasdasda

@mckeever02
Copy link
Owner

@insign Do you remember what order you entered in the form to create the error? I'm having trouble reproducing.

@insign
Copy link

insign commented Mar 7, 2019 via email

@mckeever02
Copy link
Owner

@insign Sorry, long delay. Could you try clearing your browser cache/a different browser? I've tried to replicate this and can't.

@mhsattarian
Copy link

@mckeever02
if the form is filled in order below, there is an extra ? before body like : ...&?body=... in the query!

email -> body -> subject

@uncenter
Copy link

I've forked the project at https://github.com/uncenter/mailtolink and fixed this issue, FYI.

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

5 participants