What is the most efficient way to limit the length of a http request parameter using Mod Security? For example, to limit WordPress comment length :
SecRule ARGS:comment "^.{65530}"
Would this regex expansion slow mod-security down significantly?
Or would this be the fastest?
SecRule ARGS:comment "@gt 65530" "t:none,t:length"