Page 1 of 1

SSL Giving me a headache for 3 days

Posted: Fri May 19, 2006 2:59 am
by liverock
Hi

I am trying to decode some data sent over by my client server over SSL in the following process:

a. The information will be sent via HTTP (SSL) to a my Web Server (URL)
b. The information will be in XML formats.
c. Each HTTP request send containing the XML result information will be contains a digital signature
(a hash on the result and encrypt on the hash).
This allows me to verify that the information sent is not tampered.

When I retrieve it, I get all junk data like:

Code: Select all

nfo=%253C%253Fxml%2Bversion%253D%25221.0%2522%2Bencoding%253D%2522UTF-8%2522%253F%253E%253CRESULTS%253E%253CRESULT%2Bdraw%253D
What is going on here?

Posted: Fri May 19, 2006 3:08 am
by feyd
looks like the text has been passed through rawurlencode() twice.. use urldecode() twice to get it back?