Re: Encrypt Decrypt URL UnURL Weirdness

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 40206
interpreted = N
texte = Brian, Thanks. What you said makes perfect sense. But, as with MS products, though, perfect sense does not always help to solve a problem.>You need to understand the sequence in which WebCat is working here. WebCat always works from the inside of nested contexts to the outside... > >[URL][URL][Encrypt Seed=123][Something][/Encrypt][/URL][/URL] >The correct code for un-doing your encryption/encoding example would be: > >[Decrypt Seed=123][UnURL][UnURL][Something][/UnURL][/UnURL][/Decrypt]I tried that. Some fields were decrypted and displayed properly, but some were not. It's the inconsistent results that are so annoying.>[replace db=my.db&eqSKUdatarq=[mySKU]][!] >[/!]private=[url][url][encrypt seed=123][public][/encrypt][/url][/url][!] >[/replace] > >To view this field as plain text: > >[search db=my.db&eqSKUdatarq=[mySKU]][founditems] >public => [decrypt seed=123][UnURL][private][/UnURL][/decrypt] >[/founditems][/search]Tried that, too. Again, the decrypted and displayed results were inconsistent from one field to the next.What seems to work consistently for my stuff is:[URL][URL][Encrypt Seed=123][MyFieldName][/Encrypt][/URL][/URL][UnURL][Decrypt Seed=123][MyFieldName][/Decrypt][/UnURL]Maybe the results are particular to a specific WC version and/or platform, but this is what works for me with WC 3.08 on a Mac. I'm keeping an eye on it to see if any gremlins pop up, though. So far, so good.Glenn------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Encrypt Decrypt URL UnURL Weirdness (Stuart Tremain 2001)
  2. Re: Encrypt Decrypt URL UnURL Weirdness (Glenn Busbin 2001)
  3. Re: Encrypt Decrypt URL UnURL Weirdness (Stuart Tremain 2001)
  4. Re: Encrypt Decrypt URL UnURL Weirdness (Glenn Busbin 2001)
  5. Re: Encrypt Decrypt URL UnURL Weirdness (Brian Fries 2001)
  6. Re: Encrypt Decrypt URL UnURL Weirdness (Glenn Busbin 2001)
  7. Re: Encrypt Decrypt URL UnURL Weirdness (Brian Fries 2001)
  8. Re: Encrypt Decrypt URL UnURL Weirdness (Glenn Busbin 2001)
  9. Re: Encrypt Decrypt URL UnURL Weirdness (Brian Fries 2001)
  10. Encrypt Decrypt URL UnURL Weirdness (Glenn Busbin 2001)
Brian, Thanks. What you said makes perfect sense. But, as with MS products, though, perfect sense does not always help to solve a problem.>You need to understand the sequence in which WebCat is working here. WebCat always works from the inside of nested contexts to the outside... > >[url][url][Encrypt Seed=123][Something][/Encrypt][/URL][/URL] >The correct code for un-doing your encryption/encoding example would be: > >[Decrypt Seed=123][unurl][unurl][Something][/UnURL][/UnURL][/Decrypt]I tried that. Some fields were decrypted and displayed properly, but some were not. It's the inconsistent results that are so annoying.>[replace db=my.db&eqSKUdatarq=[mySKU]][!] >[/!]private=[url][url][encrypt seed=123][public][/encrypt][/url][/url][!] >[/replace] > >To view this field as plain text: > >[search db=my.db&eqSKUdatarq=[mySKU]][founditems] >public => [decrypt seed=123][unurl][private][/UnURL][/decrypt] >[/founditems][/search]Tried that, too. Again, the decrypted and displayed results were inconsistent from one field to the next.What seems to work consistently for my stuff is:[url][url][Encrypt Seed=123][MyFieldName][/Encrypt][/URL][/URL][unurl][Decrypt Seed=123][MyFieldName][/Decrypt][/UnURL]Maybe the results are particular to a specific WC version and/or platform, but this is what works for me with WC 3.08 on a Mac. I'm keeping an eye on it to see if any gremlins pop up, though. So far, so good.Glenn------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Glenn Busbin

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:

Rotating photo gallery (2004) Database field limit? (1998) WCS Newbie question (1997) Applescript, WebDNA, and PDF (1997) list cookies and list http headers (1997) Converting a Magazine to a Web Site with WebCat (1999) Problems with Price field (1997) Virtual hosting and webcatNT (1997) [WebDNA] Friday's.. WIP thread (2009) ftp access on Macos X (2000) RE: [WebDNA] DNA suffix (2008) speed of TCPConnect? (1998) Changing price for a SLU based on options (size, etc.) (1997) How did *you* learn Web Catalog? (2000) AddLineItem Problem (1997) OT: Google (2002) WebCatalog2 Feature Feedback (1996) Shell and telnet (2002) Re[2]: Enhancement Request for WebCatalog-NT (1996) Webstar 1.3.1 PPC (1997)