Skip to content

Remove support for UseLegacyDangerousClipboardDeserializationMode - #1286

Merged
vatsan-madhavan merged 4 commits into
masterfrom
dev/vatsan/clip-serialize-harden
Jul 23, 2019
Merged

vatsan-madhavan merged 4 commits into
masterfrom
dev/vatsan/clip-serialize-harden

Conversation

@vatsan-madhavan

Copy link
Copy Markdown
Member

Remove support for UseLegacyDangerousClipboardDeserializationMode and permanently disallow deserialization of dangerous types.

  • Removes support for AppContext flag UseLegacyDangerousClipboardDeserializationMode
  • Permanently limits clipboard-deserialziation to primitive non-text types only.

Fixes #1132

PS: Creating a WIP PR since this hasn't gone through enough testing yet.

@ghost
ghost requested review from rladuca, ryalanms and stevenbrix July 16, 2019 20:14
@ghost ghost added the PR metadata: Label to tag PRs, to facilitate with triage label Jul 16, 2019
@ghost
ghost requested a review from SamBent July 16, 2019 20:14
@vatsan-madhavan

Copy link
Copy Markdown
Member Author

/cc @miguep, would appreciate it if you could take a look at this.

@vatsan-madhavan vatsan-madhavan added this to the 3.0 milestone Jul 16, 2019
@vatsan-madhavan vatsan-madhavan self-assigned this Jul 16, 2019
@miguep

miguep commented Jul 18, 2019

Copy link
Copy Markdown
Contributor

This looks good to me aside from the comment in DataObject.cs

…nd permanently disallow deserialization of dangerous types.

- Removes support for AppContext flag `UseLegacyDangerousClipboardDeserializationMode`
- Permanently limits clipboard-deserialziation to primitive non-text types only.

Fixes #1132
@vatsan-madhavan
vatsan-madhavan force-pushed the dev/vatsan/clip-serialize-harden branch from 2a20881 to 36ad5da Compare July 19, 2019 01:49
@vatsan-madhavan vatsan-madhavan changed the title WIP: Remove support for UseLegacyDangerousClipboardDeserializationMode Remove support for UseLegacyDangerousClipboardDeserializationMode Jul 19, 2019
@vatsan-madhavan
vatsan-madhavan merged commit a9b5c09 into master Jul 23, 2019
@vatsan-madhavan
vatsan-madhavan deleted the dev/vatsan/clip-serialize-harden branch July 23, 2019 01:28
@ghost ghost locked as resolved and limited conversation to collaborators Apr 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

PR metadata: Label to tag PRs, to facilitate with triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Removing support for UseLegacyDangerousClipboardDeserializationMode and restrictDeserialization`

4 participants