Traefik v1.7 X-Forwarded-For get first value

I'm doing a rate limit for the X-Forwarded-For header, but a hacker can manipulate this header and add ips generics, ex:
X-Forwarded-For : ["231.82.17.203, 179.178.31.181"],

Is it possible to make a filter or specify that I want only the real value, the first?

Traefik running with ecs and ALB in front

I just encountered in the same situation. Our apps not designed to get an array, It should've been in the first place RFC compliant. I'm looking at the code and I see depth parameter in most of the ip and header related sections but I couldn't fine that in forward configuration