wokier / gwt-crypto

Automatically exported from code.google.com/p/gwt-crypto
8 stars 1 forks source link

Decrypted String cut after 65536 chars on iPad #13

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a GWT app that encodes more then 65536 on the server
2. load the encoded string from the server
3. decrypt the encoded string

What is the expected output? What do you see instead?
the encoded string should be properly decoded. instead, the decoded string gets 
cut off after 65536 characters. 

What version of the product are you using? On what operating system?
tried with 1.0.3  and gwt-crypto-2.3.0-20110518.123759-2.jar

Please provide any additional information below.
I think this has something to do how the decoded string gets constructed as the 
ipad seems to be able to handle strings bigger than 65536 chars (e.g. because 
the encoded string received from the server is 189568 chars long and that 
doesn't seem to be a problem)

This is definitely a problem on "mobile safari", as my desktop browsers are 
able to correctly decrypt the encrypted string. However, I can't test it on the 
normal safari due to missing apple hardware. 

p.s.: while looking through some of the gwt-crypto code I think it might also 
be possible that this is a problem with integer boundaries.. but I'm not sure.

Original issue reported on code.google.com by domi...@dominikdorn.com on 13 Oct 2011 at 10:07

GoogleCodeExporter commented 9 years ago
Is it a general problem with the iOS or just iPad?

Original comment by rame...@gmail.com on 18 Oct 2011 at 2:49

GoogleCodeExporter commented 9 years ago
I can't say.. I only own this iPad, don't have other iOS Hardware.

Original comment by domi...@dominikdorn.com on 18 Oct 2011 at 4:52

GoogleCodeExporter commented 9 years ago
seeing the same issue on iPad running iOS 4.3 and 5.0.1.  have not tried other 
iOS devices

Original comment by wen...@openfin.co on 5 Dec 2011 at 9:32