Add note to Security section that commonmark is better...
than markdown as far as pathological performance goes.
This commit is contained in:
parent
84b5c55448
commit
d43f9cf414
1 changed files with 4 additions and 1 deletions
|
@ -6624,7 +6624,10 @@ application, here are some things to keep in mind:
|
|||
a timeout, to avoid DOS attacks that exploit these issues.
|
||||
If you are using the pandoc executable, you can add the
|
||||
command line options `+RTS -M512M -RTS` (for example) to limit
|
||||
the heap size to 512MB.
|
||||
the heap size to 512MB. Note that the `commonmark` parser
|
||||
(including `commonmark_x` and `gfm`) is much less vulnerable
|
||||
to pathological performance than the `markdown` parser, so
|
||||
it is a better choice when processing untrusted input.
|
||||
|
||||
6. The HTML generated by pandoc is not guaranteed to be safe.
|
||||
If `raw_html` is enabled for the Markdown input, users can
|
||||
|
|
Loading…
Reference in a new issue