Andrew Nicols b81bbc126a MDL-68883 filter_displayh5p: Ensure wwwroot is preg_quoted properly
The character used as a preg_* delimter is the tilde (~) char, but this
was not passed into the `preg_quote()` when taking the user input
($CFG->wwwroot).

As a result, any site which uses a userdir fails to parse the regexp.
2020-06-02 08:23:15 +08:00
..