Created
July 7, 2011 15:26
-
-
Save mudrd8mz/1069757 to your computer and use it in GitHub Desktop.
At attempt to reproduce MDL-28161
This file contains hidden or 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
<?php | |
require('config.php'); | |
$CFG->enablehtmlpurifier = 1; | |
$PAGE->set_context(get_system_context()); | |
$PAGE->set_url('/test.php'); | |
echo $OUTPUT->header(); | |
echo purify_html('A'); | |
purge_all_caches(); | |
echo purify_html('B'); | |
echo $OUTPUT->footer(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment