[Catalyst] Does uri_for() respect https?

Ashley Pond V apv at sedition.com
Tue Jan 1 04:25:11 GMT 2008


I'm sorry if this is a stupid question but I'm not in a position to  
test it myself at the moment.

Does uri_for respect https/http? I have some that are coming up http  
when the requested resource is https. I know I have a rewrite rule  
problem too so it might be my own problem. So, this is really just a  
sanity check.

Given a request to https://mysite.com/myapp

   [% c.uri_for("/whatever") %]

   will produce "https://mysite.com/myapp/whatever"
        and not "http://mysite.com/myapp/whatever"

Yes?

-Ashley



More information about the Catalyst mailing list