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 = 103251
interpreted = N
texte = Hi everyone. OK, this outta help you confirm what i have found. And then we can go from there. Do this: (should be very easy and clear)- 1) create 2 blank text files 2) copy the text below (each appropriate section) and paste into each of your 2 text files. 3) name each text file appropriately, to match what I have written at the top of each section 4) save the 2 files to disk 5) upload to webdna-enabled server 6) Hit the .html file (the first file) with your browser 7) follow onscreen instructions (submit the form) 8) Let us know what you find! Thanks! = = = = = = = = = = = = = = = = = = = = = = = = = = = ======================================================================== ============================== start file #1, name it = "Gov_test4list_1.html" =================================== = = = = = = = = = = = = = = = = = = = = = = = = = = = ========================================================================  Untitled  Hello WebDNA list :-)

Note that: <DNA_didRedirect> (the variable, [didRedirect], which I defined in the above include), has this value=""


If you want a movie suggestion, submit this form:

 


Movie sugestion= 1) This is worth renting, if you can still find it: [WorthWatching].

Now look at the URL, and ask yourself:
- How did the value that is trying to pass for the [WorthWatching] var get like that?



------------------------------------------------------------------------------------------------------< br /> ------------------------------------------------------------------------------------------------------< br /> ADDENDUM: (do this after the above form/test)
First, reload this page from scratch to set the [didRedirect] back to its default.
Then note:
I seem to have found another bug, which may help you track down the bug which started this whole thread;
Answer this question: why is this text showing up here when [didRedirect] does not equal "T"?! 
------------------------------------------------------------------------------------------------------< br /> 
= = = = = = = = = = = = = = = = = = = = = = = = = = = ======================================================================== ============================== end file #1, name it = "Gov_test4list_1.html" ==================================== = = = = = = = = = = = = = = = = = = = = = = = = = = = ======================================================================== = = = = = = = = = = = = = = = = = = = = = = = = = = = ======================================================================== ============================== start file #2, name it = "Gov_test4list_1.inc" =================================== = = = = = = = = = = = = = = = = = = = = = = = = = = = ======================================================================== [showif [URL][didRedirect][/URL]=[URL][raw][didRedirect][/raw][/URL]] [!]---it means [didRedirect] was not passed in this rendering as a formvariable, so I initialize it here:---[/!] [text show=F]didRedirect=First Silence![!]<---Note, the "!" char in the value.[/!][/text] [/showif] [text show=F]decentMovie=Harold & Maude[/text] [showif [URL][submit][/URL]=submit] [!]=== the form was submitted, so redirect ===[/!] [!]=== try any of the below versions. Different results; but you can see in every case that the main issue remains. You can tell by examining the resultant URL in your browser after the redirect. ===[/!] [!]--- [REDIRECT Gov_test4list_1.html?WorthWatching=[URL][decentMovie][/ URL]&didRedirect=T] [REDIRECT url=Gov_test4list_1.html?WorthWatching=[URL][decentMovie][/ URL]&didRedirect=T] [REDIRECT url=[URL]Gov_test4list_1.html? WorthWatching=[decentMovie]&didRedirect=T[/URL]] [REDIRECT url=[URL]Gov_test4list_1.html?WorthWatching=[URL] [decentMovie][/URL]&didRedirect=T[/URL]] ---[/!] [!]--- Now here is the one we are currently trying: ---[/!] [REDIRECT Gov_test4list_1.html?WorthWatching=[URL][decentMovie][/ URL]&didRedirect=T] [/showif] = = = = = = = = = = = = = = = = = = = = = = = = = = = ======================================================================== ============================== end file #2, name it = "Gov_test4list_1.inc" ==================================== = = = = = = = = = = = = = = = = = = = = = = = = = = = ======================================================================== ------------ John Butler (Govinda) govinda.webdnatalk@gmail.com 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)
Hi everyone. OK, this outta help you confirm what i have found. And then we can go from there. Do this: (should be very easy and clear)- 1) create 2 blank text files 2) copy the text below (each appropriate section) and paste into each of your 2 text files. 3) name each text file appropriately, to match what I have written at the top of each section 4) save the 2 files to disk 5) upload to webdna-enabled server 6) Hit the .html file (the first file) with your browser 7) follow onscreen instructions (submit the form) 8) Let us know what you find! Thanks! = = = = = = = = = = = = = = = = = = = = = = = = = = = ======================================================================== ============================== start file #1, name it = "Gov_test4list_1.html" =================================== = = = = = = = = = = = = = = = = = = = = = = = = = = = ========================================================================  Untitled  Hello WebDNA list :-)

Note that: <DNA_didRedirect> (the variable, [didRedirect], which I defined in the above include), has this value=""


If you want a movie suggestion, submit this form:

 


Movie sugestion= 1) This is worth renting, if you can still find it: [WorthWatching].

Now look at the URL, and ask yourself:
- How did the value that is trying to pass for the [WorthWatching] var get like that?



------------------------------------------------------------------------------------------------------< br /> ------------------------------------------------------------------------------------------------------< br /> ADDENDUM: (do this after the above form/test)
First, reload this page from scratch to set the [didRedirect] back to its default.
Then note:
I seem to have found another bug, which may help you track down the bug which started this whole thread;
Answer this question: why is this text showing up here when [didRedirect] does not equal "T"?! 
------------------------------------------------------------------------------------------------------< br /> 
= = = = = = = = = = = = = = = = = = = = = = = = = = = ======================================================================== ============================== end file #1, name it = "Gov_test4list_1.html" ==================================== = = = = = = = = = = = = = = = = = = = = = = = = = = = ======================================================================== = = = = = = = = = = = = = = = = = = = = = = = = = = = ======================================================================== ============================== start file #2, name it = "Gov_test4list_1.inc" =================================== = = = = = = = = = = = = = = = = = = = = = = = = = = = ======================================================================== [showif [url][didRedirect][/URL]=[url][raw][didRedirect][/raw][/URL]] [!]---it means [didRedirect] was not passed in this rendering as a formvariable, so I initialize it here:---[/!] [text show=F]didRedirect=First Silence![!]<---Note, the "!" char in the value.[/!][/text] [/showif] [text show=F]decentMovie=Harold & Maude[/text] [showif [url][submit][/URL]=submit] [!]=== the form was submitted, so redirect ===[/!] [!]=== try any of the below versions. Different results; but you can see in every case that the main issue remains. You can tell by examining the resultant URL in your browser after the redirect. ===[/!] [!]--- [REDIRECT Gov_test4list_1.html?WorthWatching=[url][decentMovie][/ URL]&didRedirect=T] [REDIRECT url=Gov_test4list_1.html?WorthWatching=[url][decentMovie][/ URL]&didRedirect=T] [REDIRECT url=[url]Gov_test4list_1.html? WorthWatching=[decentMovie]&didRedirect=T[/URL]] [REDIRECT url=[url]Gov_test4list_1.html?WorthWatching=[url] [decentMovie][/URL]&didRedirect=T[/URL]] ---[/!] [!]--- Now here is the one we are currently trying: ---[/!] [REDIRECT Gov_test4list_1.html?WorthWatching=[url][decentMovie][/ URL]&didRedirect=T] [/showif] = = = = = = = = = = = = = = = = = = = = = = = = = = = ======================================================================== ============================== end file #2, name it = "Gov_test4list_1.inc" ==================================== = = = = = = = = = = = = = = = = = = = = = = = = = = = ======================================================================== ------------ 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:

writefile and texte (1997) using showpage and showcart commands (1996) NT considerations (1997) same product in cart (1997) External RAID (2005) FormVariable (1999) my price won't move (1997) Generating Options for a Form. (1997) Merging databases (1997) For those of you not on the WebCatalog Beta... (1997) WC1.6 to WC2 date formatting -FIXED! (1997) Include a big block of text (1997) The evolved Server Configuration Queston (2000) WebCat2 - Getting to the browser's username/password data (1997) Nested tags count question (1997) WebDelivery downloads alias, not original ? (1997) More Shopping Cart Problems (2000) Forumulas.db & Variables (2002) [SHOWIF] (1997) SM: MySQL and Numbers (BUG) (2005)