Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

std::string vs. ePub3::string .size() methods #142

Merged
merged 1 commit into from
Dec 12, 2014

Conversation

danielweck
Copy link
Member

std::string vs. ePub3::string .size() methods must be used carefully when dealing with .c_str() raw char buffers (see ePub3::string .utfsize() or strlen(charbuf)).
This Pull Request addresses only the routines that handle percent-escape decoding, as this is where the bug was first revealed.

…when dealing with .c_str() raw char buffers (see ePub3::string .utfsize() or strlen(charbuf)).

The fixes in this commit address *only* the routines that handle percent-escape decoding.
danielweck added a commit that referenced this pull request Dec 12, 2014
std::string vs. ePub3::string .size() methods
@danielweck danielweck merged commit 6e05a69 into develop Dec 12, 2014
@danielweck danielweck deleted the feature/utfStringSize branch December 12, 2014 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant