mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
Add nonce on javascript tags
This commit is contained in:
@@ -127,7 +127,7 @@ class FormSms
|
||||
print "\n<!-- Begin form SMS -->\n";
|
||||
|
||||
print '
|
||||
<script type="text/javascript">
|
||||
<script nonce="'.getNonce().'" type="text/javascript">
|
||||
function limitChars(textarea, limit, infodiv)
|
||||
{
|
||||
var text = textarea.value;
|
||||
|
||||
Reference in New Issue
Block a user