From dd52e95836dfbc56bab15674391ce911b92adf24 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 11 Mar 2008 06:20:20 -0400 Subject: [PATCH] web commit by http://alcopop.org/me/openid/ --- ...ld_alert_user_about_an_invalid_pagespec_in_preferences.mdwn | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 doc/bugs/lockedit_plugin_should_alert_user_about_an_invalid_pagespec_in_preferences.mdwn 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.