summaryrefslogtreecommitdiff
path: root/doc/bugs/comments_preview_unsafe_with_allowdirectives.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/bugs/comments_preview_unsafe_with_allowdirectives.mdwn')
-rw-r--r--doc/bugs/comments_preview_unsafe_with_allowdirectives.mdwn8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/bugs/comments_preview_unsafe_with_allowdirectives.mdwn b/doc/bugs/comments_preview_unsafe_with_allowdirectives.mdwn
new file mode 100644
index 000000000..7f9fb67e9
--- /dev/null
+++ b/doc/bugs/comments_preview_unsafe_with_allowdirectives.mdwn
@@ -0,0 +1,8 @@
+If `comments_allowdirectives` is set, previewing a comment can run
+directives that create files. (Eg, img.) Unlike editpage, it does not
+keep track of those files and expire them. So the files will linger in
+destdir forever.
+
+Probably when the user then tries to save the comment, ikiwiki will refuse
+to overwrite the unknown file, and will crash.
+--[[Joey]]