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

Filter <form> tag #2

Closed
wonderlandpark opened this issue Jan 14, 2021 · 1 comment
Closed

Filter <form> tag #2

wonderlandpark opened this issue Jan 14, 2021 · 1 comment
Labels
👀 no/external This makes more sense somewhere else

Comments

@wonderlandpark
Copy link

Subject of the feature

Escape <form> tag

Problem

It does not escape <form> tag so it is able to send POST requests by using something like <button type='submit'>Button</button> inside the form tag

Expected behavior

Form tag should not work just like github

Alternatives

It should ignore form tag

@wonderlandpark wonderlandpark added 🙉 open/needs-info This needs some more info 🦋 type/enhancement This is great to have labels Jan 14, 2021
@wonderlandpark wonderlandpark changed the title Ignore <form> tag Filter <form> tag Jan 14, 2021
@wooorm
Copy link
Member

wooorm commented Jan 14, 2021

micromark is secure by default. You’re probably setting allowDangerousHtml somewhere?
In which case, see https://github.com/micromark/micromark#security for more information

@wooorm wooorm added 👀 no/external This makes more sense somewhere else and removed 🙉 open/needs-info This needs some more info 🦋 type/enhancement This is great to have labels Apr 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👀 no/external This makes more sense somewhere else
Development

No branches or pull requests

2 participants