You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public class MySimpleModalModel : AbpPageModel
{
public string Message { get; set; } = "<b>hello</b>";
public string City { get; set; }
public List<SelectListItem> CityList { get; set; } = new List<SelectListItem>
{
new SelectListItem { Value = "NY", Text = "<b>New York</b>"},
new SelectListItem { Value = "LDN", Text = "London"},
new SelectListItem { Value = "IST", Text = "Istanbul"},
new SelectListItem { Value = "MOS", Text = "Moscow"}
};
public void OnGet(int productId)
{
//Message = $"Hello productId:<b>{productId}</b>!";
}
}
Is there an existing issue for this?
Is your feature request related to a problem? Please describe the problem.
I try abp-select example and add label property.
I think label should be encode (
<b>hello</b>
) but it's not (hello).Describe the solution you'd like
I would like to see
<b>hello</b>
Additional context
I think this will cause XSS issue
The text was updated successfully, but these errors were encountered: