Skip to content
This repository has been archived by the owner on Jan 28, 2021. It is now read-only.

server: correctly set binary charset on blob fields #673

Merged
merged 1 commit into from
Apr 12, 2019

Conversation

erizocosmico
Copy link
Contributor

Before, there was an incorrect comparison to check whether the
field was a blob or not. That resulted in all fields, including
blobs, having the UTF8 charset. Now all fields have UTF8 charset
except for BLOBs, which have binary charset.

Also, a test has been added to ensure a correct behaviour.

Signed-off-by: Miguel Molina miguel@erizocosmi.co

Before, there was an incorrect comparison to check whether the
field was a blob or not. That resulted in all fields, including
blobs, having the UTF8 charset. Now all fields have UTF8 charset
except for BLOBs, which have binary charset.

Also, a test has been added to ensure a correct behaviour.

Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
@erizocosmico erizocosmico added the bug Something isn't working label Apr 12, 2019
@erizocosmico erizocosmico requested a review from a team April 12, 2019 09:27
@erizocosmico erizocosmico self-assigned this Apr 12, 2019
@ajnavarro ajnavarro merged commit 217cb4d into src-d:master Apr 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants