Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Instead of using stream wrappers correctly, the module attempts to "unwrap" the stream URLs into file system paths. This means that all of the advantages with stream wrappers are lost. In particular, it means that stream wrappers that do not work directly on the file system cannot be used.
The fix for this is simple: Don't resolve URLs to real file system paths. Let PHP's stream wrapper handling do the resolution internally.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1450966-1-no-realpath.patch | 1.33 KB | mbutcher |
Comments
Comment #1
mbutcher CreditAttribution: mbutcher commentedAttached is a patch that resolves the issue. It does so this way:
This is flexible enough to allow public:// and private:// handlers to be swapped. It has been tested on a remote Swift object store from HPCloud.