Davos
07-21-2003, 06:19 AM
Hi everyone,
I need your heavy knowledge on http and the Web. I have a bit of code that returns to an asp page the following string where beanie1 is an html input text box:
beanie1=MHkGCSsGAQQBgjdYA6BsMGoGCisGAQQBgjdYAwGgXDBaAgMCAAACAmYBAgFABA ji5rNi+qxuAgQQEiy2pEGvRlEFcozI6ZsIkwQwNZKWFZwgmi2UeKdSrZM/IgTTXlxTUQdTeHc0EabjBykNImrQ0/eepCvshu0mkPqF
This is then fed into a dll and decrypted.
The problem I have is that during the stage between the moment the code is sent by the app over http and when it is read by the dll, somewhere and somehow something removes the + sign you see after the letters Ni half way along the string. It gives this string when read by the dll:
MHkGCSsGAQQBgjdYA6BsMGoGCisGAQQBgjdYAwGgXDBaAgMCAAACAmYBAgFABAji5rNiqx uAgQQEiy2pEGvRlEFcozI6ZsIkwQwNZKWFZwgmi2UeKdSrZM/IgTTXlxTUQdTeHc0EabjBykNImrQ0/eepCvshu0mkPqF
Now I can't have this as the decryption returns an error.
Would anyone know what causes this? I can encrypt all strings and make sure there are no + signs but then are there any other characters that pause a problem like this?
Alos, venetually I want to use https. Any further implications?
Many thanks.
I need your heavy knowledge on http and the Web. I have a bit of code that returns to an asp page the following string where beanie1 is an html input text box:
beanie1=MHkGCSsGAQQBgjdYA6BsMGoGCisGAQQBgjdYAwGgXDBaAgMCAAACAmYBAgFABA ji5rNi+qxuAgQQEiy2pEGvRlEFcozI6ZsIkwQwNZKWFZwgmi2UeKdSrZM/IgTTXlxTUQdTeHc0EabjBykNImrQ0/eepCvshu0mkPqF
This is then fed into a dll and decrypted.
The problem I have is that during the stage between the moment the code is sent by the app over http and when it is read by the dll, somewhere and somehow something removes the + sign you see after the letters Ni half way along the string. It gives this string when read by the dll:
MHkGCSsGAQQBgjdYA6BsMGoGCisGAQQBgjdYAwGgXDBaAgMCAAACAmYBAgFABAji5rNiqx uAgQQEiy2pEGvRlEFcozI6ZsIkwQwNZKWFZwgmi2UeKdSrZM/IgTTXlxTUQdTeHc0EabjBykNImrQ0/eepCvshu0mkPqF
Now I can't have this as the decryption returns an error.
Would anyone know what causes this? I can encrypt all strings and make sure there are no + signs but then are there any other characters that pause a problem like this?
Alos, venetually I want to use https. Any further implications?
Many thanks.