Ajax bugfix: unsafe header with SSL
$10-30 USD
货到付款
After changing to SSL an Ajax form stopped working. Ajax request is sent to the same server and domain beginning with https so there should be no cross domain issues.
Error in Firefox console:
Attempt to set a forbidden header was denied: Connection
Error in Chrome:
Refused to set unsafe header "Connection"
Code:
[login to view URL]([login to view URL], [login to view URL], true);
if([login to view URL] == "POST" && this._postdata != null && [login to view URL]) {
[login to view URL]('Content-type', 'application/x-www-form-urlencoded');
[login to view URL]('Connection', 'close');
}
I tried adding [login to view URL] = true; but didn't help.
The server is dedicated using Ubuntu and might need configuration for CORS.
项目ID: #13517123
关于项目
有14名威客正在参与此工作的竞标,均价$26/小时
Hello from Greece, do you have SSh access to the server? Would you like to have a chat? Regards, Dimitris
I can fix it right now, I have experience in Ajax - SSL, i am very interested in this project. Thanks
Hello! I have expreince in certificate installation and Ill be very happy to fix your bug with header. Thanks!
Hello, Hope you are fine. I have read the job description, I am willing to work with you as per your requirements. I have already done similar work and get great feedback. Please open chat with me so we can dis 更多
Hello, I can do this, but it will be mainly with alternative to that header, since it will have to be removed. Available to start now. Regards
I am expertise in php. I have fixed like this for cross orgin. I need to take this project for increasing my portfolio in freelancer. you can award me once I successfully completed your requirements
Its very simple i have seen the error in your code , dont get cheated by others . I can give you this done in same day ,if you award me this project. Thank You
Why you should choose me? 1. I'm work with ajax for 6 years. 2. I'm work with linux for 4 years. 3. I need good ratings because i'm new here. It's a 1st class work guarantee. 4. You want quick solution. 5. You will get 更多
Hey, The error shown on chrome is pretty much self explanatory. You are passing an unnecessary header which leads to a security vulnerability. Removing the connection header should do the job for you. If the header i 更多