You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 10, 2018. It is now read-only.
In some cases we need to trigger a file upload from the page JS.
The JS running inside the browser is not usually allowed to perform this action (for obvious security reasons).
In our case, we need this functionality without opening a huge security hole. The solution is to have a whitelist of files that can be uploaded:
-> setValue(element, value)
-- allowedFiles = [value]
-- <- setFileValue(value)
-- if value in allowedFiles ...
Issue happens here: https://github.com/uuf6429/MinkElectronDriver/blob/master/src/Server/Server.js#L267
The text was updated successfully, but these errors were encountered: