Skip to content
This repository was 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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy