From 3879c56e71bb2e0d5fda81982d900fc93d4a893d Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 10 Jul 2008 15:36:18 -0400 Subject: Fixes creation of pages when clicking on WikiLinks starting with "/". --- doc/bugs/Can__39__t_create_root_page.mdwn | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc/bugs/Can__39__t_create_root_page.mdwn') diff --git a/doc/bugs/Can__39__t_create_root_page.mdwn b/doc/bugs/Can__39__t_create_root_page.mdwn index b56f3bddc..6d88dae6a 100644 --- a/doc/bugs/Can__39__t_create_root_page.mdwn +++ b/doc/bugs/Can__39__t_create_root_page.mdwn @@ -16,6 +16,9 @@ This type of page name (with leading slash) also gets created by the aggregate p > /subdir/subpage, when a user clicks the "?" link to create > the missing page ; that's why I'm using absolute paths. > +>> Totally agree, this had only not been addressed due to lack of time on +>> my part. (I have about 50 ikiwiki things on my todo list.) --[[Joey]] +> > Anyway, having the CGI consider invalid an otherwise valid wikilink > seems a bit weird to me, so I had a look to the code, and here is a > patch that should fix this issue ; I proceeded the only way I could @@ -52,4 +55,8 @@ This type of page name (with leading slash) also gets created by the aggregate p @page_locs=$best_loc=$page; } + +> [[Applied|done]]. BTW, I also accept full git changesets, if you like +> having your name in commit logs. :-) + [[tag patch]] -- cgit v1.2.3