This repository was archived by the owner on Dec 14, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
CookieTempDataProvider chunking broken #5430
Comments
So, after doing further investigation we find that this problem happens in Firefox and Chrome, but not IE. It appears that the final chunk is getting saved, but the chunks before it are either geting "overridden" or never saved at all. |
We currently do ChunkIntoCookies(Base64Encode(DataProtect(BsonSerialize(actualData)))) and the chunking cookie manager makes sure to limit cookie size to it default cookie size (4070). But it appears that these Base64 encoded chunked parts themselves are again url encoded (probably at the hosting layer?) and because of which its exceeding the limit of 4096 bytes in Chrome and Firefox. IE seems to have a limit of 5117 bytes. (site to test: http://browsercookielimits.squawky.net/) |
cc @Tratcher |
kichalla
added a commit
that referenced
this issue
Oct 28, 2016
kichalla
added a commit
that referenced
this issue
Oct 31, 2016
kichalla
added a commit
that referenced
this issue
Nov 1, 2016
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When attempting to retrieve temp data that was saved large enough to be chunked we get the error
System.IO.IOException: The encryption operation failed, see inner exception. --> Interop+OpenSsl+SslException: SSL Read BIO failed with OpenSSL error
.This seems to replicate on both Ubuntu and Windows.
The text was updated successfully, but these errors were encountered: