Avatars broken (again)


#1

Avatars appear to be broken for me again.

This is the same issue as: Avatars broken?


#2

Screenshot for clarity:

When I right-click one of the broken link images and open in a new tab, I get a “not found” message.

cc @codinghorror


#3

Fixed … for the technically minded this is what happens…

We use fastly, we have it set to add the Host header for our origin pull CDN, this works fine for HTTP but for HTTPS is also sets the X-Forwarded-Host header which overrides it as far as rails is concerned.

Took a bit of time with ngrep but all is good now.


#4

Thanks for fixing this @sam!

Closing as fixed.


#5