We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
*.csproj
A clear and concise description of what the bug is.
X-Forwarded-For is specified with an IPv6 IP address and we return just the first 4 characters.
X-Forwarded-For
X-Forwarded-For : 180.60.62.8:36608
180.60.62.8
X-Forwarded-For : 2400:4151:f82:3000:8d8:f068:5c34:824, 147.243.22.167:52155
2400
There is an inconsistency between the ASP NET and .NET Core implementations:
ApplicationInsights-dotnet/NETCORE/src/Microsoft.ApplicationInsights.AspNetCore/TelemetryInitializers/ClientIpHeaderTelemetryInitializer.cs
Line 159 in 3b15e65
ApplicationInsights-dotnet/WEB/Src/Web/Web/ClientIpHeaderTelemetryInitializer.cs
Line 106 in 3b15e65
One uses LastIndexOf and other other uses IndexOf to find the : character.
:
The text was updated successfully, but these errors were encountered:
mic-max
No branches or pull requests
*.csproj
file):Describe the bug
A clear and concise description of what the bug is.
X-Forwarded-For
is specified with an IPv6 IP address and we return just the first 4 characters.X-Forwarded-For : 180.60.62.8:36608
becomes180.60.62.8
X-Forwarded-For : 2400:4151:f82:3000:8d8:f068:5c34:824, 147.243.22.167:52155
becomes2400
There is an inconsistency between the ASP NET and .NET Core implementations:
ApplicationInsights-dotnet/NETCORE/src/Microsoft.ApplicationInsights.AspNetCore/TelemetryInitializers/ClientIpHeaderTelemetryInitializer.cs
Line 159 in 3b15e65
ApplicationInsights-dotnet/WEB/Src/Web/Web/ClientIpHeaderTelemetryInitializer.cs
Line 106 in 3b15e65
One uses LastIndexOf and other other uses IndexOf to find the
:
character.The text was updated successfully, but these errors were encountered: