Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow file uploads in the Script tab #2299

Merged
merged 1 commit into from
Aug 25, 2022
Merged

Allow file uploads in the Script tab #2299

merged 1 commit into from
Aug 25, 2022

Conversation

stoyan
Copy link
Contributor

@stoyan stoyan commented Aug 24, 2022

Demo, using the new recorder extension:

Screen.Recording.2022-08-24.at.4.01.20.PM.mov

reader.addEventListener(
"load",
() => {
document.getElementById("enter_script").value = reader.result;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do we prevent this from being used maliciously?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! As discussed offline, we should be fine (famous last words) :)

@stoyan stoyan merged commit 0f66bc1 into master Aug 25, 2022
@stoyan stoyan deleted the scriptreader branch August 29, 2022 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants