lundi 26 août 2019

How to remove %2F generated by url() in Laravel 5.4

I need to get the name of my image and to add img folder before the name of the figure. I use url() function like below



The issue is that I don't get

http://127.0.0.1:8000/img/articles/mypic.jpg

but I get %2F instead of /

http://127.0.0.1:8000/img/articles%2Fmypic.jpg

it works fine in localhost, but does not work properly on my server. I need to reconfigure apache to make it work, and I would like to avoid reconfiguring Apache. Could I avoid encoding / into %2F?



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2Pq6oU2
via IFTTT

Aucun commentaire:

Enregistrer un commentaire