Merge branch 'v13/dev' into v14/dev
# Conflicts: # src/Umbraco.Infrastructure/PropertyEditors/MultiUrlPickerValueEditor.cs # src/Umbraco.Web.Common/Profiler/WebProfiler.cs # src/Umbraco.Web.UI.Client/package-lock.json # src/Umbraco.Web.UI.Client/src/common/directives/validation/valpropertymsg.directive.js # src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/linkpicker/linkpicker.controller.js # src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/linkpicker/linkpicker.html # src/Umbraco.Web.UI.Client/src/views/content/content.create.controller.js # src/Umbraco.Web.UI.Client/src/views/content/create.html # src/Umbraco.Web.UI.Client/src/views/propertyeditors/blockgrid/umbBlockGridPropertyEditor.component.js # src/Umbraco.Web.UI.Client/src/views/propertyeditors/multiurlpicker/multiurlpicker.controller.js # src/Umbraco.Web.UI.Client/src/views/propertyeditors/multiurlpicker/multiurlpicker.html # src/Umbraco.Web.UI.Client~HEAD # Ignored changes # https://github.com/umbraco/Umbraco-CMS/pull/14787 # https://github.com/umbraco/Umbraco-CMS/pull/15853 # https://github.com/umbraco/Umbraco-CMS/pull/15841
This commit is contained in:
@@ -51,7 +51,7 @@ public class ExcessiveHeadersCheck : HealthCheck
|
||||
var url = _hostingEnvironment.ApplicationMainUrl?.GetLeftPart(UriPartial.Authority);
|
||||
|
||||
// Access the site home page and check for the headers
|
||||
var request = new HttpRequestMessage(HttpMethod.Head, url);
|
||||
using var request = new HttpRequestMessage(HttpMethod.Head, url);
|
||||
try
|
||||
{
|
||||
using HttpResponseMessage response = await HttpClient.SendAsync(request);
|
||||
|
||||
@@ -80,7 +80,7 @@ public class HttpsCheck : HealthCheck
|
||||
var urlBuilder = new UriBuilder(_hostingEnvironment.ApplicationMainUrl) { Scheme = Uri.UriSchemeHttps };
|
||||
Uri url = urlBuilder.Uri;
|
||||
|
||||
var request = new HttpRequestMessage(HttpMethod.Head, url);
|
||||
using var request = new HttpRequestMessage(HttpMethod.Head, url);
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user