Closed twrichards closed 3 days ago
Seen on auth, usage, image-loader, metadata-editor, thrall, leases, cropper, media-api, kahuna (merged by @twrichards 8 minutes and 35 seconds ago) Please check your changes!
Seen on collections (merged by @twrichards 8 minutes and 49 seconds ago) Please check your changes!
What does this change?
Recent usage emails contained a rare non-breaking space character which broke quotas. We tackle this by dropping non-ASCII characters. Added a test containing CSV which broke things. Also corrected/improved logging of such errors.
## How should a reviewer test this change? The added unit test covers the problematic scenario pretty closely (given the csv content was taken from the email which started breaking stuff). ## How can success be measured? We can ingest usage emails more robustly/flexibly. ## Who should look at this?Tested? Documented?