web commit by AndrewGreenberg: Added nasty URL edit bug in 2.52.
authorJoey Hess <joey@kitenet.net>
Tue, 8 Jul 2008 23:14:11 +0000 (19:14 -0400)
committerJoey Hess <joey@kitenet.net>
Tue, 8 Jul 2008 23:14:11 +0000 (19:14 -0400)
doc/bugs/Links_with_symbols_can__39__t_be_edited.mdwn [new file with mode: 0644]

diff --git a/doc/bugs/Links_with_symbols_can__39__t_be_edited.mdwn b/doc/bugs/Links_with_symbols_can__39__t_be_edited.mdwn
new file mode 100644 (file)
index 0000000..d290a54
--- /dev/null
@@ -0,0 +1,15 @@
+We just installed 2.52 on debian testing, and all edit links with symbols (including spaces) are coming up with empty text fields because the URL to the mdwn file is wrong.
+
+For example, the existing page:
+
+wiki/bugs/__39__Existing_Subject__39___vs.___39__Browse__39__/
+
+displays the bug "'Existing Subject' vs. 'Browse'".  But if we click 'Edit' on that page, we get:
+
+wiki/ikiwiki.cgi?page=bugs%2F'Existing%20Subject'%20vs.%20'Browse'&do=edit
+
+.. which of course opens with a blank edit box. Note that manually typing in the correct URL:
+
+wiki/ikiwiki.cgi?page=bugs%2F__39__Existing_Subject__39___vs.___39__Browse__39__&do=edit
+
+does work.