diff options
author | Joey Hess <joey@kitenet.net> | 2010-06-09 17:44:40 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-06-09 17:44:40 -0400 |
commit | 24b59b3a9edb350ef0dc064b0a3f3cdee01f81be (patch) | |
tree | 7397521e97ea8fa8a65f46e9cb29ece923c8293e /doc/bugs | |
parent | b2327cfae4ac7da1df7bbf848f575b553f74eafb (diff) |
editpage: Avoid storing accidental state changes when previewing pages.
This is a slow, safe, stupid approach. Could make deep copies of the data
structures as backups instead of re-loading the index from disk.
Diffstat (limited to 'doc/bugs')
-rw-r--r-- | doc/bugs/comments_preview_unsafe_with_allowdirectives.mdwn | 8 | ||||
-rw-r--r-- | doc/bugs/preview_pagestate.mdwn | 2 |
2 files changed, 10 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]] diff --git a/doc/bugs/preview_pagestate.mdwn b/doc/bugs/preview_pagestate.mdwn index 14973908b..7f7ec0976 100644 --- a/doc/bugs/preview_pagestate.mdwn +++ b/doc/bugs/preview_pagestate.mdwn @@ -9,3 +9,5 @@ saves other state changes. Seems like it needs to isolate all state changes when previewing... ugh. --[[Joey]] + +[[done]] |