Category background image returns 404


#1

When I upload a background image to a category the image uploads fine and appears in the category setting page however when viewing the category the link to the URL get munged into a URL that doesn’t exist. eg:

https://cdn.example.com/origin//<bucket>.s3.amazonaws.com/s3/original/1X/43f2764bab2004bd4b32bba411e4d9af97c964ff.jpeg

When it should just be:

https://cdn.example.com/s3/original/1X/43f2764bab2004bd4b32bba411e4d9af97c964ff.jpeg

For context I am using S3 for uploads and an S3 CDN. I am on Discourse version v1.8.0.beta12 +89.

Steps to re produce

  1. Upload a category image
  2. View catgory with browser console open
  3. See 404 appear with weird URL path

(Jay Pfaffman) #3

Have images worked at all since you enabled s3 cdn url?


(Régis Hanol) #4

I just pushed a fix :strawberry:


(Régis Hanol) #5

This topic was automatically closed after 23 hours. New replies are no longer allowed.