From: Joey Hess Date: Tue, 11 Mar 2008 10:20:20 +0000 (-0400) Subject: web commit by http://alcopop.org/me/openid/ X-Git-Tag: 2.41~154^2~6 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dd52e95836dfbc56bab15674391ce911b92adf24;p=ikiwiki.git web commit by http://alcopop.org/me/openid/ --- diff --git a/doc/bugs/lockedit_plugin_should_alert_user_about_an_invalid_pagespec_in_preferences.mdwn b/doc/bugs/lockedit_plugin_should_alert_user_about_an_invalid_pagespec_in_preferences.mdwn new file mode 100644 index 000000000..63c5b5e08 --- /dev/null +++ b/doc/bugs/lockedit_plugin_should_alert_user_about_an_invalid_pagespec_in_preferences.mdwn @@ -0,0 +1,3 @@ +[[plugins/lockedit]] adds the form fields for a [[pagespec]] to preferences. This pagespec should be supplied "raw"; i.e., without quotes around it. Inexperienced users (such as [[myself|jondowland]]) may provide an invalid pagespec, such as one with quotes on it. This will be merrily accepted by the form, but will cause no locking to take place. + +Perhaps some validation should be performed on the pagespec and the form-submission return include "warning: this pagespec is invalid" or "warning: this pagespec does not match any existing pages" or similar.