diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-09-14 13:43:27 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-09-14 13:43:27 -0400 |
commit | 1e4c9e6733b0566d472107d27d64962f7a8f01e3 (patch) | |
tree | a7be3abf41cbfd26cbfb81a5c9335650137e2d9f /doc | |
parent | 3d67c4b9af65c5025c2eed08a907e342468e72d7 (diff) |
cannot reproduce
Diffstat (limited to 'doc')
-rw-r--r-- | doc/bugs/barfs_on_recentchange_entry_for_a_change_removing_an_invalid_pagespec.mdwn | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/bugs/barfs_on_recentchange_entry_for_a_change_removing_an_invalid_pagespec.mdwn b/doc/bugs/barfs_on_recentchange_entry_for_a_change_removing_an_invalid_pagespec.mdwn index 18add0e1d..42e6b9e27 100644 --- a/doc/bugs/barfs_on_recentchange_entry_for_a_change_removing_an_invalid_pagespec.mdwn +++ b/doc/bugs/barfs_on_recentchange_entry_for_a_change_removing_an_invalid_pagespec.mdwn @@ -21,3 +21,21 @@ was introduced, but it wasn't there when I worked on the site last about a year ago in September 2007. -- [[madduck]] + +> I can't reproduce this problem. When I try, the generated +> `recentchanges/change_$sha1._change` file has the diff properly escaped, +> so that the map is not expanded at all. +> +> I also tried de-escaping that, and still failed to reproduce any crash. +> The bogus pagespec simply expands to nothing. The line directly after the +> line you quoted checks for syntax errors in the pagespec translation +> eval and seems to be working fine: +> +> joey@kodama:~>perl -e 'use IkiWiki; my +> $sub=IkiWiki::pagespec_translate("link(tag/<TMPL_VAR name>) and !papers/*"); print "caught failure:".$@' +> caught failure:syntax error at (eval 14) line 1, near "|| &&" +> +> Based on your line numbers, you are not running a current version of +> ikiwiki. (Doesn't quite seem to be version 2.53.x either) Try with a current +> version, and see if you can send me a source tree that can reproduce the +> problem? --[[Joey]] |