Matthew Weier O'Phinney wrote:
-- Yi Tang <ytang@mbira.com> wrote (on Wednesday, 28 January 2009, 12:34 PM -0600):While working on always redirecting users to a HTTP base of the site in some cases, it hit me that there is no such support in redirector helper. Wouldn't it be nice to have the ability to switch between HTTP and HTTPS easily when redirecting?Usually, this sort of thing is done at the HTTP level -- e.g., apache. However, with the recent addition of hostname and chain support in the router, we may be able to add support for this in the routes -- which would then propagate to the url helper. This would allow seeding redirects with appropriate URLs.
没有评论:
发表评论