MDL-44605 calendar: improved returnurl validation
authorDan Poltawski <dan@moodle.com>
Thu, 3 Jul 2014 13:30:36 +0000 (14:30 +0100)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 8 Jul 2014 23:05:51 +0000 (01:05 +0200)
commitabc5f84539cbd228978b6579b1a7898f98798643
tree69fc96ef7af09618aef8045b1b847a518c310105
parentb77130af5ec27fda15caa0dd284a5010cce1747f
MDL-44605 calendar: improved returnurl validation

Now we will only redirect to a local url (though sesskey was
already preventing this redirect from being open)
calendar/lib.php
calendar/set.php