mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
Prevent execution error
This commit is contained in:
parent
6458511d75
commit
38d7604115
@ -133,6 +133,7 @@ export class Et2Image extends Et2Widget(SlotMixin(LitElement)) implements et2_ID
|
||||
|
||||
protected parse_href(img_href : string) : string
|
||||
{
|
||||
img_href = img_href || '';
|
||||
// allow url's too
|
||||
if(img_href[0] == '/' || img_href.substr(0, 4) == 'http' || img_href.substr(0, 5) == 'data:')
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user