no iframes or images with mailto: src

This commit is contained in:
rolux 2014-01-19 12:43:21 +05:30
parent b06386a00b
commit 1fca66f54f

View file

@ -63,7 +63,7 @@
'validate': {
'width': /^\d+$/,
'height': /^\d+$/,
'src': /^((https?:\/\/|\/|mailto:).*?)/
'src': /^((https?:\/\/|\/).*?)/
}
},
{
@ -73,7 +73,7 @@
'validate': {
'width': /^\d+$/,
'height': /^\d+$/,
'src': /^((https?:\/\/|\/|mailto:).*?)/
'src': /^((https?:\/\/|\/).*?)/
},
},
{'name': 'figure'},