Welcome Guest, Not a member yet? Register   Sign In
form_open_multipart doesn't use HTTPS
#1

I spent quite a lot of time debugging tonigh, since my .htaccess kept redirecting after a file upload.

After a while, I realized that form_open_multipart() doesn't detect that the client loaded the page with https.
It doesn't seem to be an option to enable HTTPS on this either, so for now, I'll have to make the input manually.

Anyhow, wouldn't it make sense for the function to detect wheter or not the client is using SSL and apply that to the url of the form?
Reply
#2

Did you try in the action using the full https url?

If the action only specifies the controller/method then it will use the http protocol that the page was loaded with.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB