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
We thought we'd tested to verify that this wasn't the case, but obviously not.
Now as I understand it it's basically a trade off - if we want .pdfs to open on Chrome, we need to run the risk of firefox being vulnerable to running js code that's been uploaded to the media repo.
Activity
lampholder commentedon Jan 21, 2019
We thought we'd tested to verify that this wasn't the case, but obviously not.
Now as I understand it it's basically a trade off - if we want .pdfs to open on Chrome, we need to run the risk of firefox being vulnerable to running js code that's been uploaded to the media repo.
lampholder commentedon Jan 21, 2019
We could look into mitigating this by setting the download content disposition on pdfs, perhaps from within Synapse, perhaps from Riot.
jryans commentedon Jan 21, 2019
I guess another option would be to tailor the CSP based on browser UA, but I know that's pretty gross and frowned upon.
turt2live commentedon Feb 13, 2019
Closing in favour of #8605 (higher priority)