-
Notifications
You must be signed in to change notification settings - Fork 432
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't send local paths to the sidebar
The formatter function given to the bridge plugin is now guest.formatAnnotation() for better testability. If annotation.document.link exists, it is filtered, no hrefs starting with file:// protocol can get through to the sidebar. With this we do not store any local path. Fix #1661
- Loading branch information
1 parent
d1701da
commit cf01ed8
Showing
1 changed file
with
22 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters