mirror of https://github.com/sc0tfree/updog.git
fix html injection from file name
This commit is contained in:
parent
28a1ac1612
commit
1e08f181a5
|
@ -30,7 +30,7 @@ Array.prototype.forEach.call( inputs, function( input )
|
|||
}
|
||||
|
||||
if( fileName )
|
||||
label.querySelector( 'span' ).innerHTML = fileName;
|
||||
label.querySelector( 'span' ).innerText = fileName;
|
||||
else
|
||||
label.innerHTML = labelVal;
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue