You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
String representations of URIs or URLs are prone to parsing and encoding errors which can lead to vulnerabilities. The System.Uri class is a safe alternative and should be preferred.
This rule raises an issue when two overloads differ only by the string / Uri parameter and the string overload doesn't call the Uri overload. It is assumed that the string parameter represents a URI because of the exact match besides that parameter type. It does stand to reason that the safer overload should be used.
The text was updated successfully, but these errors were encountered:
RSPEC-3997
String representations of URIs or URLs are prone to parsing and encoding errors which can lead to vulnerabilities. The
System.Uri
class is a safe alternative and should be preferred.This rule raises an issue when two overloads differ only by the string / Uri parameter and the string overload doesn't call the Uri overload. It is assumed that the string parameter represents a URI because of the exact match besides that parameter type. It does stand to reason that the safer overload should be used.
The text was updated successfully, but these errors were encountered: