Browse Source
Remove HtmlEncoder dependency from TagHelper services
pull/24488/head
maliming
1 month ago
No known key found for this signature in database
GPG Key ID: A646B9CB645ECEA4
2 changed files with
8 additions and
9 deletions
-
framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bundling/Volo/Abp/AspNetCore/Mvc/UI/Bundling/TagHelpers/AbpTagHelperScriptService.cs
-
framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bundling/Volo/Abp/AspNetCore/Mvc/UI/Bundling/TagHelpers/AbpTagHelperStyleService.cs
|
|
|
@ -19,9 +19,10 @@ public class AbpTagHelperScriptService : AbpTagHelperResourceService |
|
|
|
public AbpTagHelperScriptService( |
|
|
|
IBundleManager bundleManager, |
|
|
|
IOptions<AbpBundlingOptions> options, |
|
|
|
IWebHostEnvironment hostingEnvironment, |
|
|
|
HtmlEncoder encoder) |
|
|
|
: base(bundleManager, options, hostingEnvironment, encoder) |
|
|
|
IWebHostEnvironment hostingEnvironment) : base( |
|
|
|
bundleManager, |
|
|
|
options, |
|
|
|
hostingEnvironment) |
|
|
|
{ |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ -22,12 +22,10 @@ public class AbpTagHelperStyleService : AbpTagHelperResourceService |
|
|
|
IBundleManager bundleManager, |
|
|
|
IOptions<AbpBundlingOptions> options, |
|
|
|
IWebHostEnvironment hostingEnvironment, |
|
|
|
IOptions<AbpSecurityHeadersOptions> securityHeadersOptions, |
|
|
|
HtmlEncoder encoder) : base( |
|
|
|
bundleManager, |
|
|
|
options, |
|
|
|
hostingEnvironment, |
|
|
|
encoder) |
|
|
|
IOptions<AbpSecurityHeadersOptions> securityHeadersOptions) : base( |
|
|
|
bundleManager, |
|
|
|
options, |
|
|
|
hostingEnvironment) |
|
|
|
{ |
|
|
|
SecurityHeadersOptions = securityHeadersOptions.Value; |
|
|
|
} |
|
|
|
|