@robocoder opened this Issue on March 25th 2011 Contributor

Installer (or troubleshooting plugin?) should probe the server to see if there are GET request limits in place.

This is a potential problem since 1.2 and first party which can blow up the request size as it can contain the referer URL (truncated to 1000).

@mattab commented on March 26th 2011 Member

See related report in forum:

The Piwik request raises a 414 (Request URI too long) error. I don't understand why the string size or server limit could be changed, but I contact my hoster to set a higher limit. The string is also just 1400 characters long.

I think during the install, a GET request is generated and tested to check for mod_security etc. is it correct? maybe we could make this URL longer, eg. 1.5k or so, and test that http code returned is 200? If anything else is reported we could display a customized error message (eg. for 414 or 500 codes) to suggest the pain points (eg. mod_security and/or GET URL limits). thoughts?

@robocoder commented on April 17th 2011 Contributor

Note: the current check should verify the response content. Currently, if the user has a custom 4xx page that returns status code 200, then the we get a false negative.

@mattab commented on April 28th 2011 Member

rather than doing this, better implement POSTing data if more than 1k or so: #2321

Leaving this open, since it might be useful to check the http response code (4xx) as per comment 3

@mattab commented on June 1st 2011 Member

we can focus on #2321 which is the correct long term solution

This Issue was closed on June 1st 2011
Powered by GitHub Issue Mirror