logo

New Response

« Return to the main article

You are replying to:

  1. I had noticed the same thing myself and have a work around. I ran into the same problem when dealing with company names, like law offices: Sue'em, Bone'em & Hose'em

    The problem is with the Query_String_Decoded. I don't think it's a true CGI variable, but one of those things Domino provides. I may be wrong about that. I assumed since it's buggy that it's a Lotus implementation.

    I still like Jake's technique, however, and use it extensively. It's just real handy to have all your arguments and variables in a list, all the time.

    My work around is to decode the Query_String CGI variable instead. This means you have to do all of the decoding your self.

    I do something like this:

    For the Arguments: encoded:=@Left(@Explode(@Right(Query_String;"&");"&");"="); fixed := @ReplaceSubstring(@ReplaceSubstring(encoded;" ":"%20":"%26":"%23":"%24";"+":" ":"&":"#":"$");"%25":"+";"%":" "); fixed

    The Values: encoded:=@Right(@Explode(@Right(Query_String;"&");"&");"="); fixed := @ReplaceSubstring(@ReplaceSubstring(encoded;" ":"%20":"%26":"%23":"%24";"+":" ":"&":"#":"$");"%25":"+";"%":" "); fixed

    when I need to pass something in a query_string, I encode it myself. For example: key := Vendor_Name; encoded:=@ReplaceSubstring(@ReplaceSubstring(key;"%";"%25");" ":"&":"#":"$";"%20":"%26":"%23":"%24") "[/" + dbPath + "/" + VendorForm + "?OpenForm&VENDORNAME=" + encoded + "]"

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: