Plugin Directory

Opened 7 years ago

#1312 new defect

really_static_download doesn't work if server has mod_security

Reported by: linickx Owned by: eriksef
Priority: normal Severity: normal
Plugin: not-listed Keywords: wp_http, curl, get_file_contents
Cc: linickx


I had a problem with really-static on my server as mod_security blocked the invalid http requests (no user agent was set).

I noticed that the http requests were not done the "WordPress way" -> http://planetozh.com/blog/2009/08/how-to-make-http-requests-with-wordpress/

Attached is the patch I applied to make really-static work :)


Attachments (1)

wp_http.linickx.patch (1.1 KB) - added by linickx 7 years ago.
Patch to apply wp_http to main.php

Download all attachments as: .zip

Change History (1)

@linickx7 years ago

Patch to apply wp_http to main.php

Note: See TracTickets for help on using tickets.