Announcement

Collapse
No announcement yet.

A Weird Behavior with Images and attachments

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Glenn Vergara
    replied
    Another way of doing that is to add this meta tag in the head_include template.

    HTML Code:
    <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests" />
    To block mixed.content;
    ​​​​​
    HTML Code:
    ​​​​​​<meta http-equiv="Content-Security-Policy" content="block-all-mixed-content" />
    Or in the directive on the server:

    Content-Security-Policy: block-all-mixed-content

    Leave a comment:


  • SpaceStar
    replied
    To others who face similar issue, I have found a very easy solution...

    if you have access to your server you cad add this directive to the apache or nginx

    add_header Content-Security-Policy upgrade-insecure-requests;

    This will - in easy term - put an s to http for the image. Keep in mind if the image is not present, this will still no show.

    Leave a comment:


  • SpaceStar
    replied
    Wayne Luke

    ​​​​​​​I have another question

    I can now see that I once had a gallery running on my board, which is not installed anymore but Images were still visible.

    Those image are giving same error - is there an easy way to deal with those? All those images are running from my own server.

    Leave a comment:


  • SpaceStar
    replied
    Originally posted by Wayne Luke View Post
    This is due to your browser settings and by design from the browser companies. If you want to show HTTP:// content when using HTTPS:// you have to lower the security settings in your browser. Each user will have to do this on their own browsers. This is one of the reasons why we recommend using attachments instead of the [img] bbcode. To fix this, you'll have to manually edit each piece of content and update their URLs.

    https://developers.google.com/web/fu...-mixed-content
    https://support.mozilla.org/en-US/kb/mixed-content-blocking-firefox
    Thanks for the quick answer - had already an idea that was the issue but - there are 100s of images

    Anyway thanks

    Leave a comment:


  • Wayne Luke
    replied
    This is due to your browser settings and by design from the browser companies. If you want to show HTTP:// content when using HTTPS:// you have to lower the security settings in your browser. Each user will have to do this on their own browsers. This is one of the reasons why we recommend using attachments instead of the [img] bbcode. To fix this, you'll have to manually edit each piece of content and update their URLs.

    https://developers.google.com/web/fu...-mixed-content
    https://support.mozilla.org/en-US/kb/mixed-content-blocking-firefox

    Leave a comment:


  • SpaceStar
    started a topic A Weird Behavior with Images and attachments

    A Weird Behavior with Images and attachments

    Hello

    I am seeing a weird thing on my board.

    Some of images/attachments are not visible after activating HTTS - error something like shown in the image below.

    Any experience or knowledge about this?

    Regards
    Attached Files

Related Topics

Collapse

Working...
X