]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/bugs/comments_preview_unsafe_with_allowdirectives.mdwn
editpage: Avoid storing accidental state changes when previewing pages.
[git.ikiwiki.info.git] / doc / bugs / comments_preview_unsafe_with_allowdirectives.mdwn
diff --git a/doc/bugs/comments_preview_unsafe_with_allowdirectives.mdwn b/doc/bugs/comments_preview_unsafe_with_allowdirectives.mdwn
new file mode 100644 (file)
index 0000000..7f9fb67
--- /dev/null
@@ -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]]