rename: Fix double-escaping of page name in edit box.

titlepage normally escapes, but so does formbuilder.
master
Joey Hess 2008-12-17 13:56:10 -05:00
parent 8621e52e09
commit b2366f764b
2 changed files with 2 additions and 1 deletions

View File

@ -111,7 +111,7 @@ sub rename_form ($$$) { #{{{
$f->field(name => "do", type => "hidden", value => "rename", force => 1); $f->field(name => "do", type => "hidden", value => "rename", force => 1);
$f->field(name => "page", type => "hidden", value => $page, force => 1); $f->field(name => "page", type => "hidden", value => $page, force => 1);
$f->field(name => "new_name", value => pagetitle($page), size => 60); $f->field(name => "new_name", value => pagetitle($page, 1), size => 60);
if (!$q->param("attachment")) { if (!$q->param("attachment")) {
# insert the standard extensions # insert the standard extensions
my @page_types; my @page_types;

1
debian/changelog vendored
View File

@ -15,6 +15,7 @@ ikiwiki (2.71) UNRELEASED; urgency=low
generated. generated.
* meta: Pass info to htmlscrubber so htmlscrubber_skip can take effect. * meta: Pass info to htmlscrubber so htmlscrubber_skip can take effect.
* htmlbalance: don't compact whitespace, and set misc other options (smcv) * htmlbalance: don't compact whitespace, and set misc other options (smcv)
* rename: Fix double-escaping of page name in edit box.
-- Joey Hess <joeyh@debian.org> Mon, 17 Nov 2008 14:02:10 -0500 -- Joey Hess <joeyh@debian.org> Mon, 17 Nov 2008 14:02:10 -0500