Skip to content

Commit

Permalink
Merge pull request #762 from ushahidi/hotfix-2086-mixed-content
Browse files Browse the repository at this point in the history
ushahidi/platform#2086 make http://... resources scheme relative (//...)
  • Loading branch information
tuxpiper authored Sep 23, 2017
2 parents 86064d2 + 364ab26 commit e82ed24
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/common/services/maps.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function Maps(ConfigEndpoint, L, _, CONST) {
},
hOSM: {
name: 'Humanitarian',
url: 'http://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png',
url: '//{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png',
layerOptions: {
attribution: '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a>, &copy; <a href="http://hot.openstreetmap.org/">Humanitarian OpenStreetMap</a> | <a href="https://www.mapbox.com/feedback/" target="_blank">Improve the underlying map</a>'
}
Expand Down
2 changes: 1 addition & 1 deletion app/main/activity/activity-timeline.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ <h1 class="postcard-title"><a href="">Overcrowding between 5th St. &amp; Salem A
<span class="postcard-metadata"><a href="" class="postcard-author"><img src="https://api.adorable.io/avatars/40/abott@adorable.io.png" class="avatar" />Jess Shorland</a>, 45 mins, via SMS</span>

<div class="postcard-field">
<img src="http://lorempixel.com/400/300/" class="postcard-image" />
<img src="//lorempixel.com/400/300/" class="postcard-image" />
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion app/main/posts/common/post-metadata.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</a>
</li>
<li>
<img src="http://www.gravatar.com/avatar/{{ post.user.gravatar || '00000000000000000000000000000000' }}?d=retro&s=40" class="avatar">
<img src="//www.gravatar.com/avatar/{{ post.user.gravatar || '00000000000000000000000000000000' }}?d=retro&s=40" class="avatar">
<strong class="label" ng-show="post.user && !post.author_realname">{{ post.user.realname }}</strong>
<strong class="label" ng-show="post.contact && !post.author_realname">{{ post.contact.contact}}</strong>
<strong class="label" ng-show="post.author_realname">{{ post.author_realname}}</strong>
Expand Down
2 changes: 1 addition & 1 deletion app/main/posts/detail/post-messages.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ <h3 class="listing-heading" translate>post.messages.title</h3>
<div ng-repeat="message in messages track by message.id" class="listing-item">
<div class="listing-item-primary">
<div class="listing-item-image" ng-if="message.direction == 'outgoing'">
<img src="http://www.gravatar.com/avatar/{{ message.user.gravatar || '00000000000000000000000000000000' }}?d=retro&s=40" class="avatar">
<img src="//www.gravatar.com/avatar/{{ message.user.gravatar || '00000000000000000000000000000000' }}?d=retro&s=40" class="avatar">
<svg class="iconic">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/img/iconic-sprite.svg#arrow-thick-left"></use>
</svg>
Expand Down
2 changes: 1 addition & 1 deletion app/main/posts/modify/post-toolbox.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ <h6 class="tool-heading" translate="post.author">Author</h6>
<div class="listing-item">
<div class="listing-item-primary" ng-if="showUserRealname()">
<div class="listing-item-image">
<img src="http://www.gravatar.com/avatar/{{ post.user.gravatar || '00000000000000000000000000000000' }}?d=retro&s=40" class="avatar">
<img src="//www.gravatar.com/avatar/{{ post.user.gravatar || '00000000000000000000000000000000' }}?d=retro&s=40" class="avatar">
</div>
<h2 class="listing-item-title">{{ post.user.realname }}</h2>
<p class="listing-item-secondary"></p>
Expand Down

0 comments on commit e82ed24

Please sign in to comment.