Skip to content
Unverified Commit fa9c96ac authored by Vincent Petry's avatar Vincent Petry
Browse files

Fix GDrive file size when mime type doesn't match contents

Uploading a txt file with XML contents makes GDrive return the XML mime
type.

This fix makes sure the logic that returns "SPACE_UNKNOWN" for the size
properly rely on the Google Docs mime types.
parent 4fd55c25
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment