Re: [WebDNA] Does not understand 'search' command?

This WebDNA talk-list message is from

2014


It keeps the original formatting.
numero = 111603
interpreted = N
texte = Stephen, please specify what product / version you are using Donovan On Sep 19, 2014, at 10:39 AM, Stephen Reiss wrote: > Which brings up the question=85 why isn't there a new command = reference? Or is there one that is not in the package? >=20 > Sent from my iPod >=20 > On Sep 19, 2014, at 11:40 AM, Terry Wilson wrote: >=20 >> If I'm not mistaken, commands are no longer allowed in a URL string, = for security reasons. Chris? Donovan? >>=20 >> Terry >>=20 >> On Sep 18, 2014, at 11:33 AM, Stephen Reiss wrote: >>=20 >>> Yes. I added it to the Command Security list, saved and restarted = the server. I also tried Allow(ing) all commands. >>>=20 >>> On Sep 18, 2014, at 2:34 PM, William DeVaul = wrote: >>>=20 >>>> Is search enabled as a URL parameter? Usually the security is set = higher than that to prevent bad actors from injecting commands.=20 >>>>=20 >>>> On Thu, Sep 18, 2014 at 12:19 PM, Stephen Reiss = wrote: >>>> OooK=85=20 >>>>=20 >>>> I implemented a standard [shownext], going so far as to copy and = paste it out of the reference. The results page shows the "Show Items x- = y" as expected, but here is the weird part=85=20 >>>>=20 >>>> The URL it generates is the expected = http://URL/results.html?command=3Dsearch&db=3DDatabase.db&eqDATAdatarq=3DT= rue&NAMEsort=3D1&max=3D20&startAt=3D21 but I get this rather surprising = error: Error: WebCatalog does not understand the 'search' command = (emphasis added). >>>>=20 >>>> I am pretty sure WebCatalog needs to understand the 'search' = command! >>>>=20 >>>> I have tried creating a test page and sending a simple = command=3Dsearch URL with the same results. With both .html and .tpl or = even no extensions. (Another mystery is why I can get WC to parse, or at = least throw the error, any random file name as long as it has an = extension). >>>>=20 >>>> It is having no issue with the [search] command. >>>>=20 >>>> I rebooted the whole server, no change. >>>> --------------------------------------------------------- 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 Bug Reporting: = support@webdna.us >>>>=20 >>>> --------------------------------------------------------- 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 Bug Reporting: = support@webdna.us >>> --------------------------------------------------------- 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 Bug Reporting: = support@webdna.us >>=20 >> --------------------------------------------------------- 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 Bug Reporting: = support@webdna.us > --------------------------------------------------------- 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 Bug Reporting: = support@webdna.us Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Does not understand 'search' command? (Donovan Brooke 2014)
  2. Re: [WebDNA] Does not understand 'search' command? (Stephen Reiss 2014)
  3. Re: [WebDNA] Does not understand 'search' command? (Terry Wilson 2014)
  4. Re: [WebDNA] Does not understand 'search' command? (Stephen Reiss 2014)
  5. Re: [WebDNA] Does not understand 'search' command? (William DeVaul 2014)
  6. [WebDNA] Does not understand 'search' command? (Stephen Reiss 2014)
Stephen, please specify what product / version you are using Donovan On Sep 19, 2014, at 10:39 AM, Stephen Reiss wrote: > Which brings up the question=85 why isn't there a new command = reference? Or is there one that is not in the package? >=20 > Sent from my iPod >=20 > On Sep 19, 2014, at 11:40 AM, Terry Wilson wrote: >=20 >> If I'm not mistaken, commands are no longer allowed in a URL string, = for security reasons. Chris? Donovan? >>=20 >> Terry >>=20 >> On Sep 18, 2014, at 11:33 AM, Stephen Reiss wrote: >>=20 >>> Yes. I added it to the Command Security list, saved and restarted = the server. I also tried Allow(ing) all commands. >>>=20 >>> On Sep 18, 2014, at 2:34 PM, William DeVaul = wrote: >>>=20 >>>> Is search enabled as a URL parameter? Usually the security is set = higher than that to prevent bad actors from injecting commands.=20 >>>>=20 >>>> On Thu, Sep 18, 2014 at 12:19 PM, Stephen Reiss = wrote: >>>> OooK=85=20 >>>>=20 >>>> I implemented a standard [shownext], going so far as to copy and = paste it out of the reference. The results page shows the "Show Items x- = y" as expected, but here is the weird part=85=20 >>>>=20 >>>> The URL it generates is the expected = http://URL/results.html?command=3Dsearch&db=3DDatabase.db&eqDATAdatarq=3DT= rue&NAMEsort=3D1&max=3D20&startAt=3D21 but I get this rather surprising = error: Error: WebCatalog does not understand the 'search' command = (emphasis added). >>>>=20 >>>> I am pretty sure WebCatalog needs to understand the 'search' = command! >>>>=20 >>>> I have tried creating a test page and sending a simple = command=3Dsearch URL with the same results. With both .html and .tpl or = even no extensions. (Another mystery is why I can get WC to parse, or at = least throw the error, any random file name as long as it has an = extension). >>>>=20 >>>> It is having no issue with the [search] command. >>>>=20 >>>> I rebooted the whole server, no change. >>>> --------------------------------------------------------- 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 Bug Reporting: = support@webdna.us >>>>=20 >>>> --------------------------------------------------------- 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 Bug Reporting: = support@webdna.us >>> --------------------------------------------------------- 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 Bug Reporting: = support@webdna.us >>=20 >> --------------------------------------------------------- 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 Bug Reporting: = support@webdna.us > --------------------------------------------------------- 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 Bug Reporting: = support@webdna.us Donovan Brooke

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:

bcc and sendmail (2001) textarea to page display (1998) Re requiredFields parameter (1998) Grep -- remove extra returns first (2003) Exclamation point (1997) changing prices in cart (1997) RE: Formulas.db + Users.db (1997) Setting up WebCatalog with Retail Pro data (1996) Sum of [founditems] ? (2004) Another IfThenElse question.. (2003) carriage returns in data (1997) [WriteFile] problems (1997) What might be the cause for a hicup (2000) NetSplat and WebCat2 (1997) Help! WebCat2 bug (1997) Bug? (1997) Price spread (2002) The max=0 issue is a bug ... CALL TO ACTION (2000) search form problem.. (1997) searching by date range help needed (1997)