form_validation doesn't accept strings with http:// |
[eluser]Unknown[/eluser]
Hi I need help. My form_validation doesn't accept string containing http:// I have tested the form using www.mywebsite.com and it works, but as soon as I add http://mywebsite.com the form_validation->run always returns false. One weird thing is that it does work on my localhost, but not on my webserver. Any ideas?? Would really appreciate the help.
[eluser]srpurdy[/eluser]
This is actually most likely a mod_security issue and not a codeigniter issue. You're likely running mod_security rules from atomic, and it's probably seeing the http:// as an RFI attack. If your not the manager of the server. I would contact your host provider about the issue. They may be either willing to disable the security rule causing the issue. or write a custom rule to allow the URI you are using. You could also try setting the submit form as form_open_multipart see if that makes any difference. |
Welcome Guest, Not a member yet? Register Sign In |