Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
We added local file permission (
file://*/*
) for #171, and merged the change with #173This permission is required for some customer use cases (see also #400). From this answer on StackOverflow, the local file permission must be approved by users manually.
However, recently we got an issue to report a possible security issue of local file permission. Because Tabs permission could be granted by default:
Extensions with local file permission are able to traverse local files by openning local file urls (for example
file:///C:/
) in new tabs, and read contents with active tab.This is a serious security issue, and we need to discard
file://*/*
permission ASAP no matter it is disabled by default or not.For importing data with local image files, we could add a new file input controller to make users be able to upload selected file to the extension as what a regular website does.