diff options
| author | Jonathan Amsterdam <jba@google.com> | 2020-06-01 08:34:40 -0400 |
|---|---|---|
| committer | Jonathan Amsterdam <jba@google.com> | 2020-06-01 13:40:36 +0000 |
| commit | 1d5b18fc5d996d0c8e5596faeaef044bccf69220 (patch) | |
| tree | 23014f99e2147be609df6e9ab0c40019ed9dd95b /internal/queue/queue.go | |
| parent | 23f4a4a7593e22d29e4d9b0ad6bf15be77f21ed9 (diff) | |
| download | go-x-pkgsite-1d5b18fc5d996d0c8e5596faeaef044bccf69220.tar.xz | |
internal/postgres: ensure doc HTML is valid UTF-8
We've seen documentation that is not valid UTF-8
(github.com/xuender/oil/math). That results in a DB error when written
to a TEXT column. Make the documentation valid before writing to the
DB.
Change-Id: Ib2ccdd1dfb3b66af9d444b81216f561a8d906d8a
Reviewed-on: https://team-review.git.corp.google.com/c/golang/discovery/+/757995
Reviewed-by: Julie Qiu <julieqiu@google.com>
CI-Result: Cloud Build <devtools-proctor-result-processor@system.gserviceaccount.com>
Diffstat (limited to 'internal/queue/queue.go')
0 files changed, 0 insertions, 0 deletions
