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:

ListFields and [name] (1997) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) PCS Frames (1997) [OT] Templates (For Sale) sites (2004) Sendmail & Time Issue (2001) [WebDNA] Code works in v6 but not in v7 (2010) SET (1998) [WebDNA] Candidate versions release (2010) Weird bug, or is there something amiss? (1997) Database Design Literature (2003) SKU (1997) Dreamweaver (2002) Formating Tables w/[founditems] (1998) Another bug to squash (WebCat2b13 Mac .acgi) (1997) auto adding SKUs w/DB helper (1998) Ampersand (1997) Deleting Orders (1997) Looking for WebDNA calendar (2004) [fileinfo . . .] (2000) File dates in WebCatalog .tmpl/.inc (1997)