1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 Bug/Issue: Can't quote proxy images.

Discussion in 'XenForo Questions and Support' started by andrewkm, Apr 20, 2016.

  1. andrewkm

    andrewkm Active Member

    My message / images options are as follows:

    [​IMG]

    If I quote "reply" to an entire post with an image and reply to it, it works fine:

    [​IMG]

    The reply does include the image:

    [​IMG]

    *HOWEVER*

    If I select the "IMAGE" only:

    [​IMG]

    And click "reply"

    [​IMG]

    The actual reply does not include the image:

    [​IMG]

    This I'm almost certain is a Xenforo "bug".

    Please advise.
    Thanks!
     
    Last edited: Apr 20, 2016
  2. Martok

    Martok Well-Known Member

    Testing...

    It works here.

    Does the issue persist with add-ons disabled and using an unedited default style?
     
    thedude likes this.
  3. andrewkm

    andrewkm Active Member

  4. andrewkm

    andrewkm Active Member

    Testing bug here.

    Edit: Can't seem to reproduce here on the Xenforo forums.
    BTW i'm using xenforo image proxy.
     
  5. Mike

    Mike XenForo Developer Staff Member

    Can you provide a demo URL that shows both of the posts in your screenshot?
     
    andrewkm likes this.
  6. andrewkm

    andrewkm Active Member

  7. Mike

    Mike XenForo Developer Staff Member

    I have made a fix here for the next release, but I think your issue might be related to your server's ability to fetch an image from itself via the image proxy. For example, put this URL into the "test image proxy" tool:

    http://i.imgur.com/zZ7XiGN.png

    Does it fetch correctly? It should. If not, that's what is ultimately breaking the image.

    My change prevents the "double nesting" of the image proxy that could previously happen.
     
  8. andrewkm

    andrewkm Active Member

    Looks good here,

    [​IMG]

    Also it looks like I cannot reproduce on this page however:

    http://primomc.net/threads/image-proxy-reply.48/

    A forum ran by a friend @kukelekuuk00

    Do you see any differences with why it would work for him and not us.

    He has both image proxy/link proxy enabled just as I do.
     
  9. Mike

    Mike XenForo Developer Staff Member

    Oops, my link got converted incorrectly in the post. :)

    You want to test:
    Code:
    https://www.ecocitycraft.com/forum/proxy.php?image=http%3A%2F%2Fi.imgur.com%2FzZ7XiGN.png&hash=ea1bb207711f5363852dd26d764ff3e3
     
  10. andrewkm

    andrewkm Active Member

    I am getting the following:

    [​IMG]

    Anything I can do to fix this?
     
  11. andrewkm

    andrewkm Active Member

    @Mike

    Fixed by removing 127.0.0.1 -> www.ecocitycraft.com from our host file :)

    [​IMG]

    The reason for this was because we don't run HTTPS locally and instead use Cloudflare for SSL masking.
     
    Mike likes this.

Share This Page