- 🇬🇧United Kingdom catch
I think this should be postponed on ✨ Add new stream wrapper(s) to store generated files separately Needs work .
Install http://drupal.org/project/hash_wrapper and try to use image styles. It won't work. Copying out the image style URL reveals a 403.
$target = $request->query->get('file');
$image_uri = $scheme . '://' . $target;
This ends up being hash://2016-09/92/a8/92a8369c838bf8e20339f3b847cc9de9.jpg
which is not correct. PathProcessorImageStyles and ImageStyleDownloadController assumes that scheme:// equals sites/default/files (or similar prefix) but that is only true for public://
I dunno. Maybe ImageStyle needs to talk to PathProcessorImageStyles to find out what deliver gets in ->get('file') and then should tokenize that instead of the original uri. PathProcessorImageStyles is very weird. We are not using globals in D8, do we. What is I $request->query->set('file', $file);
then. I can't even.
Some serious refactoring / cleanup is in order.
TODO
Postponed
9.5
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I think this should be postponed on ✨ Add new stream wrapper(s) to store generated files separately Needs work .