You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Database Driver & Version: DB2 for IBM iSeries (third party driver)
Description:
I'm using Digital Ocean Spaces to host website assets. If I specify a 'root' path in filesystems.php for any DO disk, I run into issues retrieving the files. If I remove the 'root' key and write the folder path manually, I don't have any issues. Specifically, it looks like the end path character "/" is being converted to "%5C". Note, I only encountered this issue after upgrading from L8 to L9.
Here's the HTML that produces: <img src="https://bwi.nyc3.digitaloceanspaces.com/vendor-logos%5Cb574d580c91d97b6b12155708ecc61a3c0779750" alt="BASF">
Note how the src path above is missing a / , right after the root location 'vendor-logos'. Any file I display like this gets prepended with a %5C. I could be going in the wrong direction, but a quick Google search shows that 5c is the hex ASCII representation of "backslash".
Since Laravel v9 switched to Flysystem v3, I suspect this is either a configuration issue or a Flyststem issue.
Can you first please try the Flysystem issue tracker or one of the support channels below? If you can actually identify this as a bug, feel free to open up a new issue with a link to the original one and we'll gladly help you out.
Description:
I'm using Digital Ocean Spaces to host website assets. If I specify a 'root' path in
filesystems.php
for any DO disk, I run into issues retrieving the files. If I remove the 'root' key and write the folder path manually, I don't have any issues. Specifically, it looks like the end path character "/" is being converted to "%5C". Note, I only encountered this issue after upgrading from L8 to L9.Here's how I'm generating the URL in my Blade:
<img src="{{ Storage::disk('vendor-logos')->url($vendor->image) }}" alt="{{ $vendor->name }}">
Here's the HTML that produces:
<img src="https://bwi.nyc3.digitaloceanspaces.com/vendor-logos%5Cb574d580c91d97b6b12155708ecc61a3c0779750" alt="BASF">
Note how the
src
path above is missing a/
, right after the root location 'vendor-logos'. Any file I display like this gets prepended with a%5C
. I could be going in the wrong direction, but a quick Google search shows that 5c is the hex ASCII representation of "backslash".Disk:
Here's a snippet of my
![image](https://user-images.githubusercontent.com/51721783/163275262-782b1275-0488-4b25-bea8-f4f185dded12.png)
vendor
model's underlying table. The highlighted record is the one used in my example above.Steps To Reproduce:
filesystems.php
The text was updated successfully, but these errors were encountered: