Stelikas's avatar

Laraver Voyager encodes / to %5C

I'm trying to connect S3 DigitalOcean Spaces with my Laravel App using Voyager as an admin panel, the upload works fine although it encodes the forward slash into "%5C" and i get a 404 error, although when i change manually the link from "%5C" to "/" it works fine.

Example link: domain.fra1.digitaloceanspaces.com/users%5CFebruary2021%5CRNGgPrQ9o2jNIuqhroFZ.png

Any possible solutions?

*Edit

What i found out %5C if backslash not a forward slash, using encoded forward slash %2F works fine.

*Edit 2

Voyager Media in admin panel displays the images just fine.

0 likes
0 replies

Please or to participate in this conversation.