Quantcast
Channel: ASP.NET MVC / Web API / Web Pages
Viewing all articles
Browse latest Browse all 7925

Commented Issue: Unobtrusive validation attributes are double-encoded [1198]

$
0
0
For example:

```html
data-val-equalto="'MyProperty5' and 'MyProperty4' do not match."
```

There's a method called GetValidationAttributes that adds HTML-encoded values to a dictionary, and then the values are encoded again by TagBuilder.
Comments: This was fixed on v4, I was able to repro on v3.

Viewing all articles
Browse latest Browse all 7925

Trending Articles



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