Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 103231
interpreted = N
texte = I thought it was just Take off the URL= On Aug 14, 2009, at 20:23, John Butler wrote: > this code: > [REDIRECT url=[URL][thisurl]?ucn=[cart]&ntce=t[/URL]] > > results in this URL in the browser window where the [redirect] just > happened: > http://mydom.com/html_docs/ ucn=125029752020792 > (which obviously breaks). ^^^^^^^^^^^^^^ how did that get in there??? > Ever see this before ---> " --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > ---------------------------------------------------------------------- > But this code (exactly the same line, just changed the square > brackets to pipes so I could see what the [redirect]'s param vals > are evaluating to, *before* redirecting) : > |REDIRECT url=[URL][thisurl]?ucn=[cart]&ntce=t[/URL]| > > returns this: > |REDIRECT url=/html_docs/xxx.html%3Fucn%3D125029824144793%26ntce%3Dt| > [unurl]'ed, that is this: > |REDIRECT url=/html_docs/xxx.html?ucn=125029833947374&ntce=t| > (which is what I expect). > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > ---------------------------------------------------------------------- > So, my question is why is [url] falling apart when inside the > [redirect] context? (We need it here!) Of course if this issue is > real and I am not just cross-eyed ;-) ... then many would have > discovered it before! What may be making my situation "new" and > different is that this code is on a square-bracket include which is > included from a XML-style webdna page. Can someone confirm this > issue? I am thinking the XML syntax is broken here, and perhaps in > other places.. I sure wish I knew in advance! I gather almost no > one is using the XML style syntax. (?) (I am currently working on > code for a client who insists on using dreamweaver, while I insist > on including square-bracket webdna so my brain (and BBedit > clippings) work). > > ------------ > John Butler (Govinda) > govinda.webdnatalk@gmail.com > > > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ > Bug Reporting: http://forum.webdna.us/eucabb.html?page=topics&category=288 Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (Kenneth Grome 2009)
  2. Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (John Butler 2009)
  3. Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (John Butler 2009)
  4. Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (Kenneth Grome 2009)
  5. Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (John Butler 2009)
  6. Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (John Butler 2009)
  7. Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (Kenneth Grome 2009)
  8. Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (christophe.billiottet@webdna.us 2009)
  9. Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (John Butler 2009)
  10. Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (John Butler 2009)
  11. Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (John Butler 2009)
  12. Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (christophe.billiottet@webdna.us 2009)
  13. Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (John Butler 2009)
  14. Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (Bob Minor 2009)
  15. [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (John Butler 2009)
I thought it was just Take off the URL= On Aug 14, 2009, at 20:23, John Butler wrote: > this code: > [REDIRECT url=[url][thisurl]?ucn=[cart]&ntce=t[/URL]] > > results in this URL in the browser window where the [redirect] just > happened: > http://mydom.com/html_docs/ ucn=125029752020792 > (which obviously breaks). ^^^^^^^^^^^^^^ how did that get in there??? > Ever see this before ---> " --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > ---------------------------------------------------------------------- > But this code (exactly the same line, just changed the square > brackets to pipes so I could see what the [redirect]'s param vals > are evaluating to, *before* redirecting) : > |REDIRECT url=[url][thisurl]?ucn=[cart]&ntce=t[/URL]| > > returns this: > |REDIRECT url=/html_docs/xxx.html%3Fucn%3D125029824144793%26ntce%3Dt| > [unurl]'ed, that is this: > |REDIRECT url=/html_docs/xxx.html?ucn=125029833947374&ntce=t| > (which is what I expect). > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > --- > ---------------------------------------------------------------------- > So, my question is why is [url] falling apart when inside the > [redirect] context? (We need it here!) Of course if this issue is > real and I am not just cross-eyed ;-) ... then many would have > discovered it before! What may be making my situation "new" and > different is that this code is on a square-bracket include which is > included from a XML-style webdna page. Can someone confirm this > issue? I am thinking the XML syntax is broken here, and perhaps in > other places.. I sure wish I knew in advance! I gather almost no > one is using the XML style syntax. (?) (I am currently working on > code for a client who insists on using dreamweaver, while I insist > on including square-bracket webdna so my brain (and BBedit > clippings) work). > > ------------ > John Butler (Govinda) > govinda.webdnatalk@gmail.com > > > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ > Bug Reporting: http://forum.webdna.us/eucabb.html?page=topics&category=288 Bob Minor

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:

How to add product size choices to form? (1997) Resume Catalog ? (1997) Letters as SKU (1998) More Discount Pricing thoughts/efforts (1998) random .inc files pulled and placed (2002) calculating tax rates, mail order solutions and version 2 (1997) Major Security Hole IIS NT (1998) problem with NT beta (1997) Emailer (1997) Comments in db? (1997) [WebDNA] No more SQL in 7.1? (2012) [WebDNA] SEARCH question - SHOWIF - HIDEIF question (2011) Using Cookie for client specific info? (1997) Emailer problem....still (1997) Searching for Email Address (2004) [carts] and databases (1997) New Lawsuit Alleges Unitedhealth/Pacificare Deceived (2006) [replace][founditems]? (2004) Not really WebCat (1997) New Web Site Developers Database (1996)