Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Piwik_Http: custom headers, and file_get_contents #2441

Closed
robocoder opened this Issue · 2 comments

1 participant

Anthon Pang
Anthon Pang
Collaborator

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.

Anthon Pang
Collaborator

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

Anthon Pang
Collaborator

(In [4739]) refs #2441

Anthon Pang robocoder added this to the 1.5 - Piwik 1.5 milestone
Anthon Pang robocoder self-assigned this
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.