View more context

 

Aaron Cooper

There's also getSourceURL() but I think that might just be the public URL but for Images that have been resized

MichalKleiner

@null could it be the URL is the same and the assets admin controller does magic to serve it from the .protected folder if possible, otherwise 401?

null

Possibly, that makes sense. I'm not accessing it via the controller in this context. It's a good lead to investigate though, cheers 🙂

MichalKleiner

As these are technically implementation details that should be hidden from the user, same as the version hash..

MichalKleiner

if you need to know where the file actually lives in the physical folder structure, there might be different methods on the filesystem adapter level

MichalKleiner

as with e.g. the S3 module, there’s no physical path

null

Very true. But even S3 has a public vs protected mechanism that exposes different URL endpoints. Was hoping that there was an asset path for both cases

null

Also possible i"m just uploading it wrong 😄

Terry Apodaca

Hey....does anyone remember the .htaccess line (or couple of lines) to redirect a site always to https ?