|
|
|
PARAM_ALPHAEXT - no "/" anymore
PARAM_SAFEPATH - replaces PARAM_ALPHAEXT when "/" needed
PARAM_ALPHANUMEXT
PARAM_TAG - block "<>"and control chars and allow "\"
PARAM_PLAINTEXT like PARAM_TEXT but without multilang support (wiki page names, etc.)
|
|
Description
|
PARAM_ALPHAEXT - no "/" anymore
PARAM_SAFEPATH - replaces PARAM_ALPHAEXT when "/" needed
PARAM_ALPHANUMEXT
PARAM_TAG - block "<>"and control chars and allow "\"
PARAM_PLAINTEXT like PARAM_TEXT but without multilang support (wiki page names, etc.) |
Show » |
committed 1 file to 'Moodle CVS' - 01/Aug/08 04:10 AM
| MDL-15897 param cleaning improvements - see tracker
|
|
|
committed 5 files to 'Moodle CVS' - 01/Aug/08 07:03 AM
| MDL-15897 deprecated PARAM_CLEANFILE - we now support unicode everywhere
|
|
|
committed 1 file to 'Moodle CVS' - 01/Aug/08 07:06 AM
| MDL-15897 PARAM_SAFEDIR now alias of PARAM_ALPHANUMEXT
|
|
|
moodler committed 1 file to 'Moodle CVS' - 16/Sep/09 09:52 PM
params MDL-15897 Tidy up PARAM_XXXX defines to use strings instead of numbers, sort alphabetically and segregate the aliases and deprecated definitions
The numbers were used orginally because we planned to use them as bitmasks, but that never happened. Strings are much simpler.
|
|
|
committed 2 files to 'Moodle CVS' - 18/Sep/09 11:52 AM
MDL-15897: Changed admin_setting_configtext.validate() check to not treat all strings as custom regex's (since PARAM_* constants are now strings).
Instead require them to have '/' at the beginning and end of the pattern.
The only setting that appears to use a custom regex is scorm/apidebugmask - now updated to contain surrounding slashes.
|
|
|
|
Anyway there is a lot to improve in this area