From 8c46ca734aabb83dbace7241e004b2b5f42a90c5 Mon Sep 17 00:00:00 2001 From: "http://yag.myopenid.com/" Date: Thu, 9 Oct 2008 18:50:04 -0400 Subject: --- doc/plugins/orphans/discussion.mdwn | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc/plugins/orphans/discussion.mdwn') diff --git a/doc/plugins/orphans/discussion.mdwn b/doc/plugins/orphans/discussion.mdwn index 2b2532bfe..7956f52d8 100644 --- a/doc/plugins/orphans/discussion.mdwn +++ b/doc/plugins/orphans/discussion.mdwn @@ -9,3 +9,12 @@ In my wiki, the page "realname" shows up as an orphan although it's being linked > reason to use other link mechanisms provided by eg, markdown for internal > links in the wiki (indeed, using them is likely to cause broken links > when doing things like inlining or renaming pages). --[[Joey]] + + +The orphans plugin fails with an error when it has to deal with a page that contains '+' characters as part of the filename. Apparently the code uses regular expressions and forgets to quote that string at some cruicial point. The error message I see is: + + \[[!orphans Error: Nested quantifiers in regex; + marked by <-- HERE in m/^(c++ <-- HERE |)$/ at + /usr/lib/perl5/vendor_perl/5.8.8/IkiWiki/Plugin/orphans.pm line 43.]] + +--Peter -- cgit v1.2.3 From debd8636a0dc8908126c2a3b8c6e6cd3072996fb Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 9 Oct 2008 19:15:39 -0400 Subject: problem fixed --- doc/plugins/orphans/discussion.mdwn | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc/plugins/orphans/discussion.mdwn') diff --git a/doc/plugins/orphans/discussion.mdwn b/doc/plugins/orphans/discussion.mdwn index 7956f52d8..3165e5968 100644 --- a/doc/plugins/orphans/discussion.mdwn +++ b/doc/plugins/orphans/discussion.mdwn @@ -18,3 +18,5 @@ The orphans plugin fails with an error when it has to deal with a page that cont /usr/lib/perl5/vendor_perl/5.8.8/IkiWiki/Plugin/orphans.pm line 43.]] --Peter + +> Fixed. BTW, for an important bug like this, use [[bugs]]. --[[Joey]] -- cgit v1.2.3