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 - #36

Closed
mislav wants to merge 2 commits into
github:2-3-githubfrom
mislav:write-fragment-fix
Closed

Fix fragment caching in mixed encoding scenario#36
mislav wants to merge 2 commits into
github:2-3-githubfrom
mislav: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.
@mislav

mislav commented Jan 9, 2014

Copy link
Copy Markdown
Author

Closing in favor of #39

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