MDL-62889 message_popup: redirect to notification page if url is empty
authorMark Nelson <markn@moodle.com>
Wed, 11 Jul 2018 05:29:18 +0000 (13:29 +0800)
committerMark Nelson <markn@moodle.com>
Tue, 17 Jul 2018 03:54:52 +0000 (11:54 +0800)
commitc5fcbd10818a06ff3be5e1b4f7ea25f58d3a5dd1
tree0a6e76e8f63cc3e8703749ea2875144861e3f261
parent7d5b9da80c640efe941b018b8445950562ab3793
MDL-62889 message_popup: redirect to notification page if url is empty

If you pass a URL that is not a valid URL (for example
';') it is cleaned to an empty string which redirects to
$CFG->wwwroot/message/output/popup/ which is not a valid
page.
message/output/popup/mark_notification_read.php