Is VBscript's URL decoding an exact reciprocal of Lingo's encoding from postNetText?

I’m trying to send the output of an RC4 encryption
routine to an ASP script on a WinTel server via postNetText. The
output of RC4 encryption is not URL safe, however, Lingo’s
postNextText encodes the string (when sent as part of a property
list) and VBScript’s request.form(“myString”)
decodes the string automatically … more or less. When I
decrypt the string server side I get about 75% of the original
string, or I get the entire string with letter shifts scattered
throughout. RC4 encryption is symmetrical, ie: the encrypted output
may be sent back though the same code with the same key and results
in the decrypted string. My VBscript is symmetrical with its own
output, the same is true for my lingo script … it’s
only when I send the lingo output to the vbscript that I get this
odd result. I tried various combinations of URL encoding the string
explicitly before sending to postNetText, no luck. I’m going
to try base64 encoding the output but maybe there’s another
problem. I’ve attached the encoding scripts for the
curious.

"Applied CD" <[email protected]> schreef in
bericht
news:f4n6d8$1gf$[email protected]..
> Woo hoo .. got it. Had to convert the entire outgoing
string from ascii to
> hex
> with $ delimiter rather than % (which gets encoded to
%25) and added a
> function
> server side to convert hex back to ascii again
recognizing $ as the
> delimiter.
> The two encryption routines are now completely
symmetrical with themselves
> and
> each other.
>
> Base64 would probably be more efficient but for the
amount of data I?m
> passing
> this works fine. If anyone wants to fill me on why the
encoding in
> postNetText
> doesn?t exactly match the decoding by VBScript I?d love
to know.
Hi Applied,
base64 is not an ecryption algorithm like RC4.
Base64 is an encoding technique, and in itself doesnt
"hide"anything.
Its in the same league as "quoted printable" encoding.
Regards,
Richard
LOOPING Multimedia

Similar Messages

  • PL/SQL URL decode function

    I am looking for a pl/sql url decode function. Does not appear to be in owa_util or htp/htf. Does any one have one please?

    You can use the utl_url package that provides public APIs for both encoding and recoding purposes.

  • URL Decode function

    I am in need of a URL decode function. Can not find one in owa_utl, htp or htf. Is there one available please?

    Can you define "URL decode function"? Given the URL for this page
    URL Decode function
    what do you want the function to do?
    Justin

  • URL Decode SSO Token Flag Property IIS 6.0

    I have the Policy Agent 2.2 for IIS 6.0 to install. I have been installing the agents before and all of them had the option of URL Decode SSO Token Flag Property (com.sun.identity.agents.config.sso.decode), but I can not find it here. Has it been disabled? I really needed it to get rid of some error. Thank you very much for you help!

    Apparently there is no need for such an option. The agent works fine without it. The idea behind the scenes is that I used to get an invalid session and and thought that this could be the problem that the SSO Token does not get decode right, the problem was actually something else.
    The time between the Access Manager machine and the Server where IIS is installed has to be in sync. And by that I mean day, year, hour, minutes and this is what I have missed - TimeZone!

  • Problem with Contribute URL decoding a javascript

    Hi,
    On all pages of our website we have a Google Analytics script:
    <script type="text/javascript">
         var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl" : "http://www");
         document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    But every time someone makes a change to one of the pages with Contribute, the script is automatically altered to this:
    <script type="text/javascript">
         var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl" : "http://www");
         document.write(unescape("<script src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'></script>"));
    </script>
    The difference is that Contribute has decided to automatically URL decode the first of the two closing </script> tags, which breaks the script; it's URL encoded for a reason: so that the browser doesn't end the script prematurely on parsing the first of the </script> tags. Is there some setting within Contribute that will allow us to stop this from happening? We just want Contribute to leave the Javascript alone.
    Many thanks,
    Mark

    I was able to solve this by including the google code in an external PHP file as well. However if my template has a repeating region in it, and my contribute user adds a region from it, it breaks the code again :/
    Are there any other suggestions out there??

  • Feeback error: "Your feedback seems to contain a URL. Please remove this and similar personal data from the text, then try again."

    error when using feedback: "Your feedback seems to contain a URL. Please remove this and similar personal data from the text, then try again. Thanks!"
    Using FF4.0 b10 with MS XP sp3

    well, for starters, is there a URL (link) in the text? if so, you will have to take it out, and include it in the little link area under the comments box.
    If not, check to see if you have 'Http://' or '.com' or something similar in the text.

  • Why am I missing artwork only and exactly for the albums I downloaded from the iTunes Store when I then sync them from PC (non-Mac) to my iPhone??

    Why am I missing artwork only and exactly for the albums I downloaded from the iTunes Store when I then sync them from PC (non-Mac) to my iPhone??
    And why can I not find a way to post this message to Apple Support without paying 35 Euros?

    Thanks, randers4,
    I don't do auto-sync. Too much music on my PC for that. I manually copy and/or delete.
    And I did delete the iTunes-acquired albums from the phone and then copied them back on:
    No change...

  • Servlet URL Decoding

    Hi,
    I use IE (on windows) to call my servlet deployed on Mac, and characters in the path info are russian ("qwerty" key strokes when typed in russian).
    e.g., http://mac:8080/axis/servlet/qxpsm/������ (Pls note u may not see russian in the above, as it wil be encoded)
    The whole URL is encoded by IE. At servlet side, when I receive pathinfo using getPathInfo method, I get
    %D0%B9%D1%86%D1%83%D0%BA%D0%B5%D0%BD for russian part.
    Now, when I try to decode it using UTF-8 (URLDecoder.decode()), I get ??????
    Any idea how to get back original russian characters?
    Thanks,
    Aman

    You need to set the charset at least in the html head.

  • URL Decoding

    Hi,
    can anybody help me with the following problem:
    - i send a request for a file with german umlaute to my server (for example "abc�abc") in url-encoded form ("abc%C4abc").
    - the request ist send to the apache web-server. i can see the request in the apache-logfile (..."GET /abc%C4abc HTTP/1.0" 200 115658). This seems correct.
    - the request is forwarded to my application server (websphere 3.5.3). The servlet who serves the request reads the path with request.getPathInfo(). In my opinion request.getPathInfo() should return "abc%C4abc", which then i could decode with URLDecoder.decode(). But instead it returns "abc?abc" and the decoding of it is not the right result "abc�abc".
    Can anyone help?
    Thanks.
    Regards Malte.

    Did you ever resolve this?

  • URL decode street addresses from PHP

    Hi there,
    I had a php programmer write me a script to download information from a local real estate board, and it works great, but we had to have it download to an xml file using urlencode in php (there were characters in the listings that caused problems - ie. > < & ").
    Anyways, now I'm parsing the information in flash, and still left with a few "+" signs between street names (ie. Bear+Mountain Road).
    I tried adding:
    var loadVars:LoadVars = new LoadVars();
    loadVars.decode(i.attributes.street);
    trace(i.attributes.street);
    in my actionscript, but I still end up with "Bear+Mountain Road."
    I guess either the "decode" function doesn't work to remove "+" signs, or I'm using the wrong thing.
    Any ideas?
    Right now it seems to be ONLY "+" signs, so even if there is a way to search the attribute and remove them that would be great!

    you can remove them using the flash string methods:
    yourstring = yourstring.split("+").join(" ");

  • Linking URLs, but not exactly

    I am trying to link some movieclips so that they open
    external files. The files are not on the internet, they are just in
    a folder with the FLA and SWF.
    I tried the following, but it doesn't work.
    on(release){
    getURL("resume.doc");
    }

    This seems like a software glitch/problem on your iPod.
    I would restore...
    Your iPod Does Not Turn On
    btabz

  • Open a URL 5 different times a day based on times from an EXCEL spreadsheet.

    HI there
    I would like to open a specific URL at 5 different times of the day, everyday for the whole year using windows powershell. These times would change everyday by a minute or so and therefore i would have all the times for each day of the year specified in a Excel
    spreadsheet.
    The URL should open in IE and should be open for about time minutes and then close.
    I have the code to open the url but how would i get it to open on the exact time based on the time in my excel spreadsheet.
    Heres the code to open the URL:
    $IE=new-object -com internetexplorer.application
    $IE.navigate2("http://www.vocfm.ndstream.net/wmplayer.htm")
    $IE.visible=$true
    In the spreadsheet i have 365 rows from 1 jan to 31 dec with columns date, time1, time2, time3, time4, time5.
    IF i could use something like 
    If Get-Date = 1 jan
    then go to times.xlsx where row = 1 jan and check if time1 = current time and then run the URL .ps1 mentioned above.
    Thanks in advance for any help. 

    It looks like you already know how to use ComObjects in Powershell so start by making an Excel object.
    $Excel = new-object -comobject excel.application
    There are a lot of example scripts in the
    TechNet Gallery to see how others have used the object.

  • HT4858 Is anyone else having problems with shared photo stream URLs not updating after photos are added or deleted from a shared photo stream?

    I have made quite a few shared photo streams and love the idea of sharing easily with a variety of friends and family. The problem in having is that any modifications made to the shared photostream (adding/deleting pictures) are not updated in the URL I have sent to my family and friends. Is anyone else experiencing this? Does anyone have any ideas or solutions?

    Disable Photo Stream in the System/iCloud preference pane
    and in iPhoto's Photo Share preference pane.
    Reboot and reenable both respectively. That should jump start Photo Stream on your Mac.
    Happy Holidays

  • Decode Error in Cisco VCS for a call from Jabber to telyHD

    Hi,
    We have the following setup:
    Cisco Jabber <---> Cisco VCS <---> telyHD (Our Video Product)
    Now, the call works well when the call is intiated from telyHD to Cisco Jabber.
    But, the call fails when the Cisco Jabber initiates the call towards telyHD.
    The packet capture on VCS shows that there is a syslog message from VCS to Jabber indicating the following when 180 Ringing is received from telyHD:
    Message [truncated]: tvcs: Event="Decode Error" Service="SIP" Src-ip="10.1.1.19" Src-port="5060" Dst-ip="10.1.11.11" Dst-port="25331" Detail="(User-Agent) Single header User-Agent appeared twice in message" Protocol="TCP" Level="1" UTCTime
    Can you please help in troubleshooting this issue. I don't see multiple "User-Agent" headers in the 180 Ringing sent by telyHD.
    I have attached the packet capture on VCS.

    I am also having the same issue.  Can someone please respond? Thanks.

  • Exactly when is the Still taken from a video podcast?

    Hello!
    I noticed that when I add a video podcast for which I did not specifically add some artwork in iTunes, iTunes automatically takes a still to put as the episode artwork. It's not during the first 8 or so seconds of the podcast, but a little after. Is there an exact moment when the still is taken, like after, say 12 seconds?
    I would appreciate a response, so I can better time the video.
    Thanks in advance.
    Mac Pro + Mac Book Pro   Mac OS X (10.4.10)  

    Well, you are right of course, but I was hoping it was possible to do this in iMovie, apparently it is not. The problem is that I encode my movie DV from iMovie in Visual Hub for settings H.264 iPod, Apple TV and iPhone. I know that I can then take that file and add the artword ("poster frame") in either QT Pro or iTunes (add artwork), but I am afraid it might mess up the file and the file won't be comatible anymore with iTunes etc. I guess I'm wrong, it's probably possible to do so. A pity it takes an extra step.
    Thanks for your input and I'll mark the issue as answered, unless I am wrong in my comment (in which case please let me know).

Maybe you are looking for

  • Online Help for Common Programs Will Not Open in Firefox

    Many of my programs, such as Ultradefrag and Audacity (to name two), present their Help guides and User Manuals using a browser. I have Firefox set as my default browser. Every time I try to use help with these programs, I get the very frustrating me

  • Why does my mouse pointer have a "no" symbol attached?

    My mouse pointer has the   symbol attached. I can move the pointer, but it does not do anything. It's like it is frozen.

  • Re-saving photos in my library as a smaller size

    is there anyway to select multiple photos and re-save them as a smaller size [some of my photos are 3-6mg and i don't need them to be that high of quality.] any thoughts/ideas?

  • ESS/MSS assert violation dump

    Hi everyone, When i try to access the personel data in the general information tab in ESS/MSS portal. I am facing the below dump.I have searched in all sites but am not clear about this dump.please help me out. Team...and then General Information Une

  • How to Summarized Running Total and Formula ????

    Post Author: ryan_r CA Forum: Crystal Reports Hi my name is Ryan, I want to ask something. I have build a report that contains Running totals and Formula. What I want to do is I want to use subtotal and Summary field for the running total and Formula