-
-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CliRouter - Presenter tries to canonize the URL and redirect #217
Comments
Currently I used startup() for it
even with it, it still does try to redirect to another page
I see that the callstack to redirectUrl is
so it's actually not just autoCanonize, but also detectedCsrf which redirect to "this" How was this "fixed"simply adding
to handleCron "fixed" the problem, but it's a bug that needs a fix, probably in checkRequirements in Nette\Application\UI\Component |
Fixed in new version (not sure which version fixed this) |
Ah, I forgot to delete the $this->autoCanonicalize = false; Still getting this in v3.0.5 |
Version: 3.0.0
Not sure if I missed something, but after update to 3.0.0 my cron scripts stopped working. I got them bound to Live:cron presenter for example. Running them with
php /var/www/www/index.php Live:cron --do=cron --type=cloudTasks
The response is
Steps To Reproduce
In my RouterFactory I use
now run the project with the example command above and see the result.
Expected Behavior
Not autoCanonicalize the CLI requests
Possible Solution
$autoCanonicalize to false as a temporary solution.
The text was updated successfully, but these errors were encountered: