22 references to Full
Microsoft.AspNetCore.Rewrite (2)
IISUrlRewrite\UrlRewriteRuleBuilder.cs (1)
16
public UriMatchPart UriMatchPart => Global ? UriMatchPart.
Full
: UriMatchPart.Path;
PatternSegments\UrlSegment.cs (1)
25
return _uriMatchPart == UriMatchPart.
Full
? context.HttpContext.Request.GetEncodedUrl() : (string)context.HttpContext.Request.Path;
Microsoft.AspNetCore.Rewrite.Tests (20)
IISUrlRewrite\MiddleWareTests.cs (1)
702
[InlineData(@"^http://localhost(/.*)", "http://www.test.com/foo/bar", (int)UriMatchPart.
Full
)]
IISUrlRewrite\ServerVariableTests.cs (12)
23
[InlineData("HTTP_URL", "http://example.com/foo?bar=1", (int)UriMatchPart.
Full
)]
27
[InlineData("REQUEST_URI", "http://example.com/foo?bar=1", (int)UriMatchPart.
Full
)]
28
[InlineData("REQUEST_METHOD", "GET", (int)UriMatchPart.
Full
)]
29
[InlineData("SERVER_NAME", "example.com", (int)UriMatchPart.
Full
)]
49
[InlineData("HTTP_URL", "http://otherexample.com/other-foo?bar=2", (int)UriMatchPart.
Full
)]
54
[InlineData("REQUEST_URI", "/other-foo", (int)UriMatchPart.
Full
)]
55
[InlineData("REQUEST_METHOD", "POST", (int)UriMatchPart.
Full
)]
56
[InlineData("SERVER_NAME", "otherexample.com", (int)UriMatchPart.
Full
)]
98
[InlineData("HTTP_URL", "http://example.com/foo?bar=1", (int)UriMatchPart.
Full
)]
102
[InlineData("REQUEST_URI", "http://example.com/foo?bar=1", (int)UriMatchPart.
Full
)]
103
[InlineData("REQUEST_METHOD", "GET", (int)UriMatchPart.
Full
)]
104
[InlineData("SERVER_NAME", "example.com", (int)UriMatchPart.
Full
)]
PatternSegments\UrlSegmentTests.cs (7)
18
[InlineData("http", "localhost", 80, null, (int)UriMatchPart.
Full
, "http://localhost:80/")]
19
[InlineData("http", "localhost", 80, "", (int)UriMatchPart.
Full
, "http://localhost:80/")]
20
[InlineData("http", "localhost", 80, "/foo:bar", (int)UriMatchPart.
Full
, "http://localhost:80/foo:bar")]
21
[InlineData("http", "localhost", 80, "/foo bar", (int)UriMatchPart.
Full
, "http://localhost:80/foo%20bar")]
22
[InlineData("http", "localhost", 80, "/foo/bar", (int)UriMatchPart.
Full
, "http://localhost:80/foo/bar")]
23
[InlineData("http", "localhost", 81, "/foo/bar", (int)UriMatchPart.
Full
, "http://localhost:81/foo/bar")]
24
[InlineData("https", "localhost", 443, "/foo/bar", (int)UriMatchPart.
Full
, "https://localhost:443/foo/bar")]