Specific User Agent "x-requested-with" Blocking

How can I block requests with specific values from User Agent Header ?
Somebody doing xss my site using android apk and I want it to block if they come with some header values.

You cant block partial user agents, only full ones.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.