-
- CommentAuthorfogster
- CommentTimeSep 11th 2008
Is anyone else still getting virus warnings when previewing templates? The ones on the main page don't do it, but if you preview an older template, NOD32 pops up a set of virus warnings for me, as it includes some iframes to malicious-seeming sites. (In the interest of not spreading anything, I won't link to anything.)
I'm not getting infected, but it's a major nuisance, and I worry about what'll happen to others. -
-
CommentAuthorgnome
- CommentTimeSep 11th 2008
Can you post an ID number? -
-
- CommentAuthorfogster
- CommentTimeSep 11th 2008
1785 and _everything_ lower that I've tried. (1784, 1783...) -
-
CommentAuthorSean
- CommentTimeSep 12th 2008
We are still working on removing this issue on various templates.
The source of how it happened has been fixed but at this point removing the iframe code is a manual process on each template... very time consuming...
I've been trying to find a way and/ or a custom script that I can run on the server to remove that code from all templates.
If someone would like to help with this script, contact me off forum and I can provide specifics of what it needs to find, remove and the specific file name(s) and folder locations to make the script. -
-
- CommentAuthorfogster
- CommentTimeSep 12th 2008 edited by fogster on the 12th September 2008 at 10:49:28 EDT
Do you allow the use of iframes in templates? You could easily just remove all lines containing an iframe with the shell command:
awk 'match($0, "<iframe") == 0 {print $0}' filename.html
(EDIT: don't run any code from here on a production site... It keeps not coming through right.)
You could stick it inside a foreach based on a find? I'll play around a little more with trying to get something solid when I have some time this afternoon.
The three "bad links" all have some stuff in common that I can strip out, too, if there are cases where an iframe should show up in a design preview? -
-
CommentAuthorSean
- CommentTimeSep 12th 2008
@fogster: we don't allow iframes in templates but the design preview is an iframe... the top area that shows the download link, user name, etc, but below that is just the design preview which just shows the index.html of each design.
What you are explaining is exactly what I'd like to do. Contact me off forum via my sites contact forum and we can exchange email addresses so I can provide you more details and you can provide the code you are talking about coming up with.
Thanks in advance. -
1 to 6 of 6
