Skip to content

Commit 8216e5a

Browse files
committed
Recommend external_file_access=False with untrusted user input
1 parent 676581c commit 8216e5a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ Converts the source document to HTML.
293293
* Source documents may reference files outside of the source document.
294294
To disable access to any such external files during the conversion process,
295295
pass `external_file_access=False`.
296+
This is highly recommended when converting untrusted user input.
296297

297298
* `convert_image`: by default, images are converted to `<img>` elements with the source included inline in the `src` attribute.
298299
Set this argument to an [image converter](#image-converters) to override the default behaviour.

0 commit comments

Comments
 (0)