Hi,

I noticed that
$this->redirect("/") in actions or url_for("/") in views when called
from an url like http://host/frontend_dev.php/something throw away the
frontend_dev.php and generate url like http://host/. While
url_for("module/action") will generate an url containing
frontend_dev.php.  url_for("") will generate http://host/frontend_dev.php
and this is nice, because when I am testing I want to keep the
frotnend_dev.php in my URL. With $this->redirect seems impossible to
get the same result, since $this->redirect("") throws an exception. I
am quite new to symfony so maybe I am wrong. Would'n be better to make
redirect and url_for always include frontend_dev.php if it is prenset
in the URL of the current page? Or am I missing something?

Thanks
Paolo

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to