- 05 Jan, 2017 5 commits
-
-
-
-
Rajesh Taneja authored
noreplyaddress should be a valid address, else it will not be saved. For behat we don't send email, so set it to noreply@example.com, to avoid failing validation on localhost
-
David Mudrák authored
-
-
- 04 Jan, 2017 13 commits
-
-
-
David Mudrák authored
It was discovered by unit tests that the return value is not a real boolean as was intuitively expected and documented. To avoid potential issues with the truthyness in the future, we explicitly cast the return value to boolean now.
-
David Mudrák authored
The patch adds validation for the noreplyaddress setting variable, for the explicit $replyto parameter and for the sender's email. In case of misconfigured noreplyaddress setting, it falls back to the default noreply address value. In case of invalid email in the user's record, the email is not sent. The patch also adds unit test for the value returned by the function generate_email_processing_address() so that it can be considered as a valid email, too. This is supposed to significantly minimise the risk of exploiting the vulnerability in PHPMailer's Sender field.
-
David Mudrák authored
The noreply and support emails should always be valid.
-
The 'attachments' is not a real DB field here. It comes from the form's filepicker and holds the id of the attachments filearea. The function forum_add_attachment() expects it as a property of the first argument. There were two possible approaches here. Either to pass the raw $newpost to forum_add_attachment(), or add the attachments into the list modifiable fields. The second approach is safer.
-
-
-
-
We allow only .scss files so allow files to be included only and only if they end in .scss and they exist on server under theme directory.
-
-
Dan Marsden authored
-
- 03 Jan, 2017 9 commits
-
-
Ankit Agarwal authored
-
Ankit Agarwal authored
-
-
Rajesh Taneja authored
-
-
-
-
Juan Leyva authored
-
Juan Leyva authored
MDL-55839 Introduced some changes in CSS selectors used by the form.js file. This caused contributed plugins to not work (javascript stop working) when editing a module.
-
- 02 Jan, 2017 8 commits
-
-
-
-
-
-
-
-
Dan Poltawski authored
-
-
- 30 Dec, 2016 3 commits
-
-
-
David Monllao authored
-
Nadav Kavalerchik authored
-
- 29 Dec, 2016 2 commits
-
-