mirrored from git://git.moodle.org/moodle.git
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-90 Introducing MOODLE_SANE_INPUT and MOODLE_SANE_OUTPUT to setup.php
These two constants indicate that the Moodle core should not mangle input (magic quotes of any kind verboten!) and should not spit odd stuff in the output (displaydebug verboten!). Both are needed for WebDAV support. MOODLE_SANE_INPUT is tricky - it means that the codepaths _must_ use $db->qstr() (or addslashes() - but that has its own problems).
- Loading branch information
martinlanghoff
committed
Feb 27, 2008
1 parent
c336b0b
commit 8f64ba0
Showing
1 changed file
with
17 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters