summaryrefslogtreecommitdiffstats
path: root/webapp/components/profile_picture.jsx
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2017-03-16 14:59:00 -0400
committerCorey Hulen <corey@hulen.com>2017-03-16 11:59:00 -0700
commit24848f9d6a92eb1e09189c358636fd1ba32fa6d6 (patch)
treea0061bcefe49daa3104f57fc77370facae03a53b /webapp/components/profile_picture.jsx
parentd757645c2490dd4f0de16cc32e05551b1476d0a0 (diff)
downloadchat-24848f9d6a92eb1e09189c358636fd1ba32fa6d6.tar.gz
chat-24848f9d6a92eb1e09189c358636fd1ba32fa6d6.tar.bz2
chat-24848f9d6a92eb1e09189c358636fd1ba32fa6d6.zip
PLT-3181 Added crossorigin='anonymous' to all external images (#5774)
* PLT-3181 Added crossorigin='anonymous' to all external images * Fixed image unit tests * Added crossorigin='anonymous' to a few more places
Diffstat (limited to 'webapp/components/profile_picture.jsx')
-rw-r--r--webapp/components/profile_picture.jsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/webapp/components/profile_picture.jsx b/webapp/components/profile_picture.jsx
index 7a5f892db..737a4400b 100644
--- a/webapp/components/profile_picture.jsx
+++ b/webapp/components/profile_picture.jsx
@@ -69,6 +69,7 @@ export default class ProfilePicture extends React.Component {
width={this.props.width}
height={this.props.width}
src={this.props.src}
+ crossOrigin='anonymous'
/>
<StatusIcon status={this.props.status}/>
</span>
@@ -82,6 +83,7 @@ export default class ProfilePicture extends React.Component {
width={this.props.width}
height={this.props.width}
src={this.props.src}
+ crossOrigin='anonymous'
/>
<StatusIcon status={this.props.status}/>
</span>