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

Port FxCop rule CA1057: StringUriOverloadsCallSystemUriOverloads #401

Open
Tracked by #61964
ghost opened this issue Nov 21, 2015 · 0 comments
Open
Tracked by #61964

Port FxCop rule CA1057: StringUriOverloadsCallSystemUriOverloads #401

ghost opened this issue Nov 21, 2015 · 0 comments

Comments

@ghost
Copy link

ghost commented Nov 21, 2015

Title: String uri overloads call system uri overloads

Description:

Because the overloads differ only by the string/Uri parameter, the string is assumed to represent a uniform resource identifier (URI). A string representation of a URI is prone to parsing and encoding errors, and can lead to security vulnerabilities. The Uri class provides these services in a safe and secure manner. To reap the benefits of the Uri class, the string overload should call the Uri overload using the string argument.

Dependency: None

Notes:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants