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:

WebCat2 as a chat server? (1997) Adding Multiple Items (1999) UPS Quick Cost Calculator (1997) Error: the 'showcart' command requires that you specify a db (1997) What is WebDNA (1997) return missing item (was:WebCat Sales) (1997) [WebDNA] special chars (2009) required fields??? (2000) [WebDNA] tcp connect who is (2008) WebCat b13 CGI -shownext- (1997) Nested vs conditional (1997) Changing RAM-cached browser values ... (2000) Re[2]: WebCatalog keeps quiting on Solaris, and support isn' (2000) [protect] (2000) [table] weirdness (2003) WebCatalog & Mac OS X (client) vs. Redhat Linux (2001) emailer (1997) Authenticate (1997) presetting a [math] var not working (2000) Format of Required fields error message (1997)