I intend to run xenforo on a ssl enabled host, the problem as you likely know, is that mixed content warnings appear when for example images are remotely hosted, on non ssl enabled hosts.
I have setup an asset proxy that fetches the images and proxies them, thus making them available over ssl.
I seek to (re)construct the img url's users have and will submit(ted) from :
IMG http://classic.http.image.host.url/image.jpg /IMG
IMG https://our-domain/asset-proxy/hash/encoded.classic.image.url /IMG
e.g : https://domain/asset-proxy/712ad3d5...e61736f66742e636f6d2f76697065727369672e6a7067
$hash= hash_hmac('sha1', $url, $key);
I'm open to any and all offers.