If an entity references a file at the root of a stream wrapper ( for example public://foo.jpg ), then handlePhysicalFiles incorrectly calculates the directory uri (makes it public:/ ). At that point, file_prepare_directory will refuse to prepare the directory_uri, and the user is presented with an error message.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2908955-2-streamwrapper-dirname.patch | 926 bytes | DeFr |
Comments
Comment #2
DeFr commentedLet's use the stream wrapper dirname instead of exploding / imploding.
Comment #4
grimreaperHello,
Thanks for the patch. I have been able to reproduce the bug and the patch fixes it.
I will release a new version of the module.