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 justTake 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:
|
- Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (Kenneth Grome 2009)
- Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (John Butler 2009)
- Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (John Butler 2009)
- Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (Kenneth Grome 2009)
- Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (John Butler 2009)
- Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (John Butler 2009)
- Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (Kenneth Grome 2009)
- Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (christophe.billiottet@webdna.us 2009)
- Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (John Butler 2009)
- Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (John Butler 2009)
- Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (John Butler 2009)
- Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (christophe.billiottet@webdna.us 2009)
- Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (John Butler 2009)
- Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (Bob Minor 2009)
- [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 justTake 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:
Multi Actions (1999)
Reversing [ipaddress] normalization (1998)
WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997)
NT License trade for Mac (2000)
Timer Values on [redirect] (1998)
auto enter dates (1998)
encryption in browser? NOT (1998)
purchase.log file (1997)
Replace context problem ... (1997)
Bug? (1997)
Flash Stores (2003)
Order not created error (never mind) (1997)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
Forcing a NEWCART (1997)
Broken Emails (2005)
Logging purchases (1997)
Checkboxes (1998)
Nesting format tags (1997)
WildWEBCAT98 Winners! (1999)
Authenticate v6 (2004)