cloudyr / limer

A LimeSurvey R Client
MIT License
67 stars 36 forks source link

add user agent to avoid problems with modsecurity #34

Open jsibley2 opened 6 years ago

jsibley2 commented 6 years ago

I may be wrong, but it appears that modsecurity is blocking access (rule 990011 in my case) to limesurvey remotecontrol on my survey because the httr call is not providing a user-agent parameter.

Unless there is a reason not to, if my guess is correct, might it be possible to add a user-agent of "httr" to the code that interacts with remotecontrol?

Thanks.