Piwik_Http: custom headers, and file_get_contents #2441

Closed
robocoder opened this Issue May 20, 2011 · 2 comments

1 participant

@robocoder

Piwik_Http currently sends the client's IP in a spoofed Referer header. We should use X-Forwarded-For.

Piwik_Http currently sets the User-Agent according to the plugin. We should this according to the user's UA, and use Via.

The stream transport uses file_get_contents. For large files, this might exceed PHP's max memory limit.

@robocoder

(In [4738]) fixes #2441, fixes #1869

@robocoder

(In [4739]) refs #2441

@robocoder robocoder added this to the 1.5 - Piwik 1.5 milestone Jul 8, 2014
@robocoder robocoder self-assigned this Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment