-
Author
-
February 14, 2017 at 00:12 #152908maegrasParticipant
Hi, i implemented https in my website. It works quite well in every section except for buddypress activity stream when you upload an image with rtmedia.
Using firebug i got images uploaded via rtmedia are loaded using http instead of https, here u got an html output
<a href=”http://www.segrete.org/membri/wolfman/media/148/” rel=”nofollow”>
<div class=”rtmedia-item-thumbnail”><img alt=”10986672_101705826846803_3272729986302057440_n” src=”http://www.segrete.org/wp-content/uploads/rtMedia/users/318/2017/02/10986672_101705826846803_3272729986302057440_n.jpg”></div>
<div class=”rtmedia-item-title”>10986672_101705826846803_3272729986302057440_n</div>
</a><p><a href=”http://www.segrete.org/membri/wolfman/media/148/” rel=”nofollow” class=”no-popup”></a></p>How can i fix it? It could depends on this part of code? sweetdate/rtmedia/main.php
//todo sanitize and fix $_SERVER variable usage
// check if it is an ajax request$_rt_ajax_request = rtm_get_server_var( ‘HTTP_X_REQUESTED_WITH’, ‘FILTER_SANITIZE_STRING’ );
if ( ‘xmlhttprequest’ === strtolower( $_rt_ajax_request ) ) {
$rt_ajax_request = true ;
}February 14, 2017 at 19:39 #153019LauraModeratorHello, try with https://wordpress.org/plugins/really-simple-ssl/ 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
-
AuthorPosts
You must be logged in to reply to this topic.