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

Closed 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.

Viewing all articles
Browse latest Browse all 7925

Trending Articles