search for: 3000httpslocalhost

Displaying 1 result from an estimated 1 matches for "3000httpslocalhost".

2006 Apr 28
6
SSL and url_for
...eplacing http with https, and so I did the following: redirect_to(:protocol => "https") if !request.ssl? I''m doing this via localhost for now, so I''m not expecting it to actually work. However, I''m getting an incorrect url when I try this: http://localhost:3000httpslocalhost:3000/cart/checkout When I log the url it''s creating with url_for, it''s creating: httpslocalhost:3000/cart/checkout. This seems incorrect... What am I doing wrong? I''ve set only_path to false, but that seems to have no effect. My alternative would be to parse the url and...