Forums / Setup & design / RedirectURI don't works correctly
Cristian G. L.
Wednesday 26 May 2004 12:46:11 am
Hi everyone!
I put this inside a form:
<input type="hidden" name="RedirectURI" value={"admin/noticias"|ezurl} />
When i click on a submit button, eZP redirects me to:
/ezpublish/index.php/dq/ezpublish/index.php/dq/admin/noticias
instead of:
/ezpublish/index.php/dq/admin/noticias
(note: "dq" is the siteaccess name)
This seems to be a bug. Am i doing it wrong?
Bye
Cristian
James Packham
Wednesday 26 May 2004 3:38:34 am
I found this yesterday too. It only seems to happen when you use URI siteaccess method, so you can either change your siteaccess method, or change your template:
<input type="hidden" name="RedirectURI" value={"admin/noticias"|ezurl} /> to<input type="hidden" name="RedirectURI" value="admin/noticias" />
Or try upgrading EZ (assuming you're using an old version).
Regards,
James
Wednesday 26 May 2004 6:38:20 am
I tried this with version 3.3-5 and it still doesn't work. This has been reported as a bug, but is at status "will not fix".
http://www.ez.no/community/bug_reports/redirectafteruserregister_in_ezuser_bug_or_inconsistency
BTW: An alternative method to fix this problem is to use ezroot operator, instead of ezurl. This will still work in host match siteaccess method.
Wednesday 26 May 2004 7:20:38 am
Thanks!
I am using version 3.3-5. I have the same problem with ezroot operator.With value="/admin/noticias" it works.