1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-14 14:17:35 -05:00

[AC-1637] Replaced Html.Raw with HttpUtility.HtmlDecode

This commit is contained in:
Rui Tome
2023-09-27 17:36:02 +01:00
parent 6bbc956337
commit d0500edd63
3 changed files with 9 additions and 6 deletions

View File

@ -1,10 +1,11 @@
@inject Bit.Core.Settings.GlobalSettings GlobalSettings
@using System.Web
@model OrganizationViewModel
@{
ViewData["Title"] = "Organization: " + Html.Raw(Model.Organization.Name);
ViewData["Title"] = "Organization: " + HttpUtility.HtmlDecode(Model.Organization.Name);
}
<h1>Organization <small>@Html.Raw(Model.Organization.Name)</small></h1>
<h1>Organization <small>@HttpUtility.HtmlDecode(Model.Organization.Name)</small></h1>
@if (Model.Provider != null)
{