Differences From:
File
src/wiki.c
part of check-in
[488afb9746]
- Enforce well-formedness constraints on wiki pagenames.
by
drh on
2007-10-06 17:10:47.
[view]
To:
File
src/wiki.c
part of check-in
[9f89a8e68e]
- Fix the wiki editor so that it can handle wiki page names that
include spaces.
by
drh on
2007-10-10 15:21:53.
[view]
@@ -214,9 +214,9 @@
if( z[0]=='\n' ) n++;
}
if( n<20 ) n = 20;
if( n>200 ) n = 200;
- @ <form method="POST" action="%s(g.zBaseURL)/wikiedit/%s(g.zExtra)">
+ @ <form method="POST" action="%s(g.zBaseURL)/wikiedit/%t(g.zExtra)">
@ <textarea name="w" class="wikiedit" cols="80"
@ rows="%d(n)" wrap="virtual">%h(zBody)</textarea>
@ <br>
@ <input type="submit" name="preview" value="Preview Your Changes">