1 namespace System
.Net
.Http
3 partial class HttpRequestMessage
5 static bool IsAllowedAbsoluteUri (Uri uri
)
7 if (!uri
.IsAbsoluteUri
)
11 if (uri
.Scheme
== "blob")
15 // Mono URI handling which does not distinguish between file and url absolute paths without scheme
16 if (uri
.Scheme
== Uri
.UriSchemeFile
&& uri
.OriginalString
.StartsWith ("/", StringComparison
.Ordinal
))
19 return HttpUtilities
.IsHttpUri (uri
);