##// END OF EJS Templates
security: limit the maximum password lenght to 72 characters to prevent possible...
security: limit the maximum password lenght to 72 characters to prevent possible server side resource consumption attack. - bcrypt heavy computation can lead to DOS using a very long password .eg 10**8 lenght. - we allowed this on registration or on password update

File last commit:

r703:1eda65ea default
r2192:a51e727d stable
Show More
rhodecode-unsafe-html.js
12 lines | 244 B | application/javascript | JavascriptLexer
Polymer({
is: 'rhodecode-unsafe-html',
properties: {
text: {
type: String,
observer: '_handleText'
}
},
_handleText: function(newVal, oldVal){
this.innerHTML = this.text;
}
})