Allow up to 8 levels of nested directives, rather than previous 3 in directive infinite loop guard.
parent
5560afc085
commit
e0d1c264d9
|
@ -1508,7 +1508,7 @@ sub preprocess ($$$;$$) {
|
|||
push @params, $val, '';
|
||||
}
|
||||
}
|
||||
if ($preprocessing{$page}++ > 3) {
|
||||
if ($preprocessing{$page}++ > 8) {
|
||||
# Avoid loops of preprocessed pages preprocessing
|
||||
# other pages that preprocess them, etc.
|
||||
return "[[!$command <span class=\"error\">".
|
||||
|
|
|
@ -5,6 +5,8 @@ ikiwiki (3.20140126) UNRELEASED; urgency=medium
|
|||
* po: Add html_lang_code and html_lang_dir template variables
|
||||
for the language code and direction of text.
|
||||
Thanks, Mesar Hameed
|
||||
* Allow up to 8 levels of nested directives, rather than previous 3
|
||||
in directive infinite loop guard.
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Sat, 01 Feb 2014 16:53:35 -0400
|
||||
|
||||
|
|
|
@ -19,3 +19,5 @@ index 75c9579..ad0f8b0 100644
|
|||
[[!tag patch]]
|
||||
|
||||
> [[Seems reasonable|users/smcv/yesplease]] --smcv
|
||||
|
||||
>> [[done]] --[[Joey]]
|
||||
|
|
Loading…
Reference in New Issue