Re: [WebDNA] [url] broken inside [setcookie], on a square-bracket-style

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 103294
interpreted = N
texte = John Butler wrote: > The main bug I have been going on rambling about, to the fatigue of this > list (sorry), should be made a pretty high priority (fixing it), in my > opinion.. Not because I am doing the apparently maverick work to suss > out (any more?) wysiwyg-syntax issues (though of course I wish webdna > source code revolved around my personal needs ;-) .. but because of this: > this code: > [setcookie name=mycookie&value=[url][url][encrypt > seed=12345678][cart][/encrypt][/url][/url]&path=/] > literally writes this on the browser's cookie sheet: > > Good thing I didn't decide to up and do something else entirely, fail to > notice this, and then leave this code laying around in production!! ; > I'd be passing out our encryption key to every random user! > > p.s. - Looks like webdna tries to first change the square-bracket syntax > of the include into the wysiwyg-syntax of the parent page before > actually parsing it. Looks like other tags/contexts besides [url] have > the same bug.. (see the [encrypt] on that cookiesheet?) I bet the bug > is just one little typo somewhere; once when I was hand-translating a > square-bracket style context/tag into wysiwyg style, I forgot that last > "]" and ended up with that same kind of looking munged code.. like > the same typo". John, I think it's great you are finding these.... but perhaps it would be better if you reported them to the bug reporting facility noted on the bottom of each email in the signature. I don't always have time to catch every post on the talk list. I would suggest very concise posts if possible. Thanks! Donovan -- Donovan Brooke WebDNA Software Corporation http://www.webdna.us **[Square Bracket Utopia]** Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] [url] broken inside [setcookie], on a square-bracket-style (Donovan Brooke 2009)
  2. [WebDNA] [url] broken inside [setcookie], on a square-bracket-style include, included from a wysiwyg-style page (John Butler 2009)
John Butler wrote: > The main bug I have been going on rambling about, to the fatigue of this > list (sorry), should be made a pretty high priority (fixing it), in my > opinion.. Not because I am doing the apparently maverick work to suss > out (any more?) wysiwyg-syntax issues (though of course I wish webdna > source code revolved around my personal needs ;-) .. but because of this: > this code: > [setcookie name=mycookie&value=[url][url][encrypt > seed=12345678][cart][/encrypt][/url][/url]&path=/] > literally writes this on the browser's cookie sheet: > > Good thing I didn't decide to up and do something else entirely, fail to > notice this, and then leave this code laying around in production!! ; > I'd be passing out our encryption key to every random user! > > p.s. - Looks like webdna tries to first change the square-bracket syntax > of the include into the wysiwyg-syntax of the parent page before > actually parsing it. Looks like other tags/contexts besides [url] have > the same bug.. (see the [encrypt] on that cookiesheet?) I bet the bug > is just one little typo somewhere; once when I was hand-translating a > square-bracket style context/tag into wysiwyg style, I forgot that last > "]" and ended up with that same kind of looking munged code.. like > the same typo". John, I think it's great you are finding these.... but perhaps it would be better if you reported them to the bug reporting facility noted on the bottom of each email in the signature. I don't always have time to catch every post on the Talk List. I would suggest very concise posts if possible. Thanks! Donovan -- Donovan Brooke WebDNA Software Corporation http://www.webdna.us **[Square Bracket Utopia]** Donovan Brooke

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:

[WebDNA] Froala Editor working with WebDNA (2016) Limit to Field Length in DB (1998) [WebDNA] WebDNA vs. php war ;-) (2010) Date Range search (1997) WC2b15 - [HTMLx]...[/HTMLx] problems SOLVED! (1997) [WebDNA] Screen Resolution - detection & redirect (2012) [isfile] ? (1997) WebCat Linux: Could not create pipeKey segment (2000) Cannot calculate prices (1997) Sense/Disallow HTML tags during $Append (1997) Suffix Mapping????? (1998) Re:2nd WebCatalog2 Feature Request (1996) NT or Mac (1997) Falsifying [BROWSERNAME] (1998) Multipart Form - Ascertain File Type (2007) WebCat Documentation (was [platform] tag?) (1998) 2.1b3 --> way slow (1997) RE: Re:Has this happened to you? (1997) 2.01 upgrade problems (1997) AutoNumber not working (2004)