Skip to content

Commit

Permalink
Merge pull request #15519 from abpframework/liangshiwei/permission
Browse files Browse the repository at this point in the history
Fix cross site scripting (reflected) vulnerability in permission module
  • Loading branch information
maliming committed Jan 27, 2023
2 parents 956bb74 + b50a028 commit 1984748
Showing 1 changed file with 2 additions and 1 deletion.
@@ -1,4 +1,5 @@
@page
@using System.Web;
@using Microsoft.AspNetCore.Mvc.Localization
@using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Modal
@using Volo.Abp.Localization
Expand All @@ -12,7 +13,7 @@

<form method="post" asp-page="/AbpPermissionManagement/PermissionManagementModal" data-script-class="abp.modals.PermissionManagement" id="PermissionManagementForm">
<abp-modal size="Large">
<abp-modal-header title="@(L["Permissions"].Value) - @Model.EntityDisplayName"></abp-modal-header>
<abp-modal-header title="@(L["Permissions"].Value) - @(HttpUtility.HtmlEncode(Model.EntityDisplayName))"></abp-modal-header>
<abp-modal-body class="custom-scroll-container">
<abp-input asp-for="SelectAllInAllTabs" check-box-hidden-input-render-mode="CheckBoxHiddenInputRenderMode.None" label="@L["SelectAllInAllTabs"].Value"/>
<hr class="mt-2 mb-2"/>
Expand Down

0 comments on commit 1984748

Please sign in to comment.