lots of request variable name length errors in suhosin lots of request variable name length errors in suhosin php php

lots of request variable name length errors in suhosin


I got the same error. To fix it i edited /etc/php.d/suhosin.ini. First I changed

suhosin.request.max_varname_length = 64

to

suhosin.request.max_varname_length = 128

But this didn't fix it, it just changed the error message subtly (Note the complaint about the GET instead of the request):

Feb 22 17:07:04 <servern name> suhosin[23389]: ALERT - configured GET variable name length limit exceeded - dropped variable '/mehul_bakrania/feedback/personal_coach_and_peak_performance_trai/159296' (attacker '<ip address>', file <file path>') 

So then I changed:

suhosin.get.max_name_length = 64

to

suhosin.get.max_name_length = 128

Then my problem was fixed. I chosse 128 because I noticed the URL that was causing the issue was about 70 characters long.


You can try theses :

suhosin.get.max_name_length (default 64)suhosin.post.max_name_length (default 64)suhosin.request.max_varname_length (default 64)