Re: [w3c/clipboard-apis] Getting file/image from clipboard (#134)

This repository concerns the w3c clipboard specification, which applies to all browsers (ex. Chrome, Safari, Firefox, Edge, Samsung Internet, etc). Are you discussing a Chromium-specific bug? If so, please file a bug on https://crbug.com (component Blink>DataTransfer for clipboard), and we can close this issue. If this is intended to be a cross-browser spec issue, please leave this here.

Generally, browsers will sanitize clipboard contents to prevent security issues (example: remote code execution vulnerabilities in image encoders), so sites can't expect clipboard contents to have be completely preserved/identical after copying/pasting. One unfortunate side effect of this is that exif rotation and other metadata is commonly stripped, and browser-internal formats may change (Chrome happens to use bitmaps/PNGs for clipboard image formats).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/clipboard-apis/issues/134#issuecomment-733423941

Received on Wednesday, 25 November 2020 02:34:21 UTC