Skip to content

Editor issue : href="mailto:" getting sanitized #7034

Discussion options

You must be logged in to vote

mailto is sanitized by default

See here to adjust the sanitizer https://docs.orchardcore.net/en/dev/docs/reference/core/Sanitizer/#configuring-the-sanitizer (oh and the example includes mailto)

Or as @jtkech says disable sanitization.

It's not something we'll include by default I suspect - the point of using an external sanitizer is that we do not need to make decisions about what is safe and isn't safe.

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by hishamco
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #7034 on September 08, 2020 08:06.