Automatic redirect Message (3.4.1)

Automatic redirect Message (3.4.1)

by Wieland Wueller -
Number of replies: 0
Hey there,

I'm working with the moodle Version 3.4.1 and I'm using a custom theme with lots of javascript which is why I can't test it with the standard theme of moodle.

Currently, I'm running into an automatic redirect message that tells me: "This page should automatically redirect. If nothing is happening please use the continue link below" - when I enter my page with an optional string parameter and an optional integer parameter. This message never appears anywhere else in my theme.

I couldn't find out how to turn off this message in moodle and since you can't give redirect the fourth parameter null or boolean (otherwise it display the error notification type) I assume that there is something not right with my redirect (security issue or something else).

Could you explain me why I get this message and how to turn it off without any core change? My redirect:
redirect('/mod/folder1/folder2/index.php?parameterstring=parameterinteger');


Average of ratings: -