Header, Encryption, RBAC, Serialization, Pagination and other common behavior for Insights microservices built with Rails
3
stars
25
forks
source link
Ensure UTF-8 compatibility for ErrorDocument#to_h.to_json #227
Closed
slemrmartin closed 3 years ago
Sources API on CI produces:
It can be caused by illegal characters in the
ErrorDocument
detailsError happens when
document.to_h
looks like this:{"errors" => [{"status" => 500, "detail" => "\xAE"}]}.to_json
Not sure how to reproduce in real environment
RHCLOUD-14351