You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-04 11:51:45 +03:00
Remove redundant lockOrigin parameter from usercontent
now that each Element has its own, and not usercontent.riot.im it only has to permit its own origin
This commit is contained in:
@@ -288,7 +288,7 @@ export default class MFileBody extends React.Component {
|
||||
<a ref={this._dummyLink} />
|
||||
</div>
|
||||
<iframe
|
||||
src={`${url}?origin=${encodeURIComponent(window.location.origin)}`}
|
||||
src={url}
|
||||
onLoad={onIframeLoad}
|
||||
ref={this._iframe}
|
||||
sandbox="allow-scripts allow-downloads allow-downloads-without-user-activation" />
|
||||
|
||||
Reference in New Issue
Block a user