Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Created Unassigned: Allow HTML Markup in Validation messages [1507]

$
0
0
Porting from https://aspnet.codeplex.com/workitem/9958:

Please change
ValidationExtensions.ValidationSummary(...)

to use
spanTag.InnerHtml = message

and
listItem.InnerHtml = errorText.

These values are not coming from the public, and there isn't reason to escape it using SetInnerText().

Escaping it means that even simple messages like "Login failed <a href="LostPassword">Lost your password</a>" is impossible.

Viewing all articles
Browse latest Browse all 7215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>