mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-03-22 13:10:41 +08:00
685c354d0e
- added tests for all 4 cases: output to string or into element vs first param contains link or not - cleaned up logic - skip HTML entity encoding only if we can ensure insertion to text node / when output to string, we always encode - DOMpurify sanitizes gopher, ws & wss links, which we previosly had tested for |
||
---|---|---|
.. | ||
Alert.js | ||
AttachmentViewer.js | ||
Check.js | ||
compression-sample.txt | ||
CryptTool.js | ||
DiscussionViewer.js | ||
Editor.js | ||
Helper.js | ||
I18n.js | ||
Model.js | ||
PasteStatus.js | ||
PasteViewer.js | ||
Prompt.js | ||
ServerInteraction.js | ||
TopNav.js | ||
UiHelper.js |