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

Update SiteMapNode.cs #335

Closed
wants to merge 1 commit into from
Closed

Update SiteMapNode.cs #335

wants to merge 1 commit into from

Conversation

akovsh
Copy link
Contributor

@akovsh akovsh commented Jul 15, 2014

MatchesRoute: QueryStringCollection might contains nullable keys. Dictionary.Conains(key) throws ArgumentNullException

@NightOwl888
Copy link
Collaborator

Thanks for the patch. I don't see the downside of the null check, so I am going to merge it. However, under what conditions will a null key will happen?

@akovsh
Copy link
Contributor Author

akovsh commented Jul 25, 2014

in case of incorrect query string in URL (ASP.Net MVC 5.2, IIS7.5)
f.i. http://site.com?=a&b

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.

2 participants