diff --git a/src/Microsoft.AspNetCore.Routing/RouteOptions.cs b/src/Microsoft.AspNetCore.Routing/RouteOptions.cs index 6cf08bd68a..b5c5bd544f 100644 --- a/src/Microsoft.AspNetCore.Routing/RouteOptions.cs +++ b/src/Microsoft.AspNetCore.Routing/RouteOptions.cs @@ -10,12 +10,14 @@ namespace Microsoft.AspNetCore.Routing public class RouteOptions { /// - /// Gets or sets a value indicating whether all generated URLs are lower-case. it doesn't include the query string. + /// Gets or sets a value indicating whether all generated paths URLs are lower-case. + /// Use to configure the behavior for query strings. /// public bool LowercaseUrls { get; set; } /// - /// Gets or sets a value indicating whether all generated QUERY STRINGS are lower-case. property will when LowercaseUrls true. + /// Gets or sets a value indicating whether a generated query strings are lower-case. + /// This property will be unless is also true /// public bool LowercaseQueryStrings { get; set; } diff --git a/test/Microsoft.AspNetCore.Routing.Tests/RouteCollectionTest.cs b/test/Microsoft.AspNetCore.Routing.Tests/RouteCollectionTest.cs index a92bccdfcc..b7eab2f10b 100644 --- a/test/Microsoft.AspNetCore.Routing.Tests/RouteCollectionTest.cs +++ b/test/Microsoft.AspNetCore.Routing.Tests/RouteCollectionTest.cs @@ -701,7 +701,8 @@ namespace Microsoft.AspNetCore.Routing private static Action GetRouteOptions( bool lowerCaseUrls = false, - bool appendTrailingSlash = false, bool lowercaseQueryStrings = false) + bool appendTrailingSlash = false, + bool lowercaseQueryStrings = false) { return (options) => {