Issue #4220 resolved

403 error for images in private wikis (BB-4537)

Billy Bednar
created an issue

Images (and other content) are not accessible in private wikis via custom domains (CNAME). To reproduce push an image and view in a browser using your domain name. When the wiki is private the server returns a 403 forbidden response for images. Changing the wiki to public or accessing the page via will cause the image to be displayed.

Comments (8)

  1. Billy Bednar reporter

    I took another look today and it appears that this is only a problem when accessing the wiki using a custom domain. Accessing it via works as expected.

  2. Billy Bednar reporter

    The image is in the root of the wiki ( and is embedded in the wiki home page. The wiki is currently public but if you toggle the wiki setting between public and private the image will go from working to a 403 error. I can add you as an admin if you'd like to try it.

    Accessing the image via always seems to work. You are redirected to when the wiki is public and to when it is private. Accessing the image with the custom domain doesn't cause any similar redirects.

  3. Log in to comment