Skip to content
New issue

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

Fix issue: [DEV] Images missing from Dev environment #5280

Merged
merged 2 commits into from
Jan 17, 2018
Merged

Conversation

cristinamanum
Copy link
Contributor

Due to null ref exception in ClientTelemetryPIIProcessor.

return RouteTable.Routes.GetRouteData(new HttpContextWrapper(HttpContext.Current)).Route as Route;
if (HttpContext.Current == null)
{
return null;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ModifyItem returns w/o obfuscation when GetCurrentRoute returns null. Is this ok? Is HttpContext.Current always available for urls we need to obfuscate?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The HttpContext should always be available. From the current data it is ok to not obfuscate if the route is null.

@cristinamanum cristinamanum merged commit caa82d0 into dev Jan 17, 2018
@cristinamanum cristinamanum deleted the cmanu1123 branch September 17, 2018 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants