[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 = 103230
interpreted = N
texte = 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/ "
    
  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)
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/ "[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 John Butler

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:

Zeroing out shipping costs (2000) Price Not Appearing (2000) still having shipCost.db Problem (1997) Re:no template caching (1997) [SHOWIF AND/OR] (1997) Speaking of mysql... sqlexecute question (2006) Emailer (1997) Looping control (1997) [WriteFile] problems (1997) Where's Cart Created ? (1997) Documentation Feedback (1997) WebTen and WebCat (1997) WebCatalog can't find database (1997) WebTrends (2002) user/password validation (1998) Quickbooks Invoice / Payment Generation (2006) emailer error type 103 (1997) [WebDNA] HTTP Streaming - POSSIBLE! (2010) Hosts who have upgraded to v5.0? (2003) [WebDNA] API - Flickr (2011)