Audio/video uploads return wrong url when assets are stored on S3


(Simon Cossar) #1

When assets are stored on S3 without a CDN, audio and video uploads are returning the wrong url.

http://tests.testeleven.com//testeleven-forum-assets.s3-us-west-1.amazonaws.com/original/1X/06c34a2cb749a93f3551224a283080483cb417d4.wav

The Discourse.BaseUrl is being added to the upload url without first checking if S3 is being used.


(Jeff Atwood) #2

(Régis Hanol) #3

This was fixed by @Simon_Cossar in