html - Cannot show DropDownList in Google Chrome with encoding characters -


i having issue dropdownlist in asp.net , google chrome:

in data sources, have values encoding characters: <script>alert('xss')</script>

then bind dropwdownlist. dropdownlist contain options after encoding:

<!doctype html> <body> <select>         <option selected="selected" value=""></option>         <option value="1753">&lt;script&gt;alert('xss')&lt;/script&gt;</option>         <option value="1758">&lt;script&gt;alert('xss')&lt;/script&gt;</option>         <option value="1801">&lt;script&gt;alert('xss')&lt;/script&gt;</option>         <option value="2024">&lt;script&gt;alert('xss')&lt;/script&gt;</option>    </select> </body> 

but dropdownlist cannot open in google chrome, still can open in firefox , ie. wrong points? can me resolve it?


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

spring cloud - How to configure SpringCloud Eureka instance to point to https on non standard port -

javascript - Bootstrap Popover: iOS Safari strange behaviour -