Skip to content
This repository was archived by the owner on May 5, 2020. It is now read-only.

Fix fragment caching in mixed encoding scenario - #39

Merged
tmm1 merged 3 commits into
2-3-githubfrom
write-fragment-fix
Jan 9, 2014
Merged

Fix fragment caching in mixed encoding scenario#39
tmm1 merged 3 commits into
2-3-githubfrom
write-fragment-fix

Conversation

@mislav

@mislav mislav commented Jan 9, 2014

Copy link
Copy Markdown

Fixes the case where a fragment cache might get persisted with a few extra bytes of garbage due to String#length meaning different things in different encodings.

tmm1 and others added 2 commits January 8, 2014 16:35
To reduce ambiguity between char- and byte-based operations, explicitly
do byte operations when extracting the fragment that needs to be cached.
tmm1 added a commit that referenced this pull request Jan 9, 2014
Fix fragment caching in mixed encoding scenario
@tmm1
tmm1 merged commit 0c52ae6 into 2-3-github Jan 9, 2014
@mislav
mislav deleted the write-fragment-fix branch January 9, 2014 17:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants