This topic has 1 reply, 2 voices, and was last updated 7 years by Laura.

  • Author
  • #152908
     maegras
    Participant

    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/&#8221; 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&gt;
    <div class=”rtmedia-item-title”>10986672_101705826846803_3272729986302057440_n</div>
    </a><p><a href=”http://www.segrete.org/membri/wolfman/media/148/&#8221; 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 ;
    }

    #153019
     Laura
    Moderator

    Hello, 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 solution

    Laura 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 🙂

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?