FIX: Include secure media URLs when linking post uploads (PR #10404)

Normally, secure media urls are linked like /secure-media-uploads/.... In this case, uploads were already being linked correctly.

But sometimes (e.g. when pulling hotlinked onebox images) secure media is referenced with a full domain name (// This commit ensures that those uploads are also linked correctly.


Looks like urls and paths are not used?