Forum

Forwarded and X-Forwarded-For both has same value

Akash Talole
1 June 2016, 13:05
Hi hugo after changing this code
while ((forwarded = strcasestr(forwarded, "for=")) != NULL) {
begin = forwarded + 4;
forwarded++;
}

in request headers:
Forwarded: for="127.0.0.1"
X-Forwarded-For: 127.0.0.1

why these values are same.


Hugo Leisink
1 June 2016, 22:47
I don't understand what you mean.
This topic has been closed.