codegooglecom / rend

Automatically exported from code.google.com/p/rend
Other
0 stars 0 forks source link

SslSelector and _foward() conflict #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. Create oneAction() and twoAction().
2. Make oneAction() forward to twoAction().
3. Enable SslSelector on twoAction().
4. Call oneAction().

This should cause the forwarded page to be loaded in https, but instead,
the calling action is loaded in https.

The reason is because _getUrl($url) uses $request->getRequestUri(). Since a
_forward() does not change this, the original page is reloaded in https
instead.

Original issue reported on code.google.com by justin.h...@gmail.com on 2 Jun 2008 at 10:34

GoogleCodeExporter commented 9 years ago

Original comment by justin.h...@gmail.com on 11 Jun 2008 at 12:54

GoogleCodeExporter commented 9 years ago
There is no simple solution to this, at the action helper layer. Because of 
this,
this action helper will be removed in the next major version of Rend and 
eventually a
plugin will be created that will work only on URLs.

Original comment by justin.h...@gmail.com on 29 Oct 2008 at 4:20