laravel error 403 when CP is in url how to fix it?

Viewed 16

I got error 403 when in the url, CP (with a space after) is write.

I use laravel 8.

Exemple : /addFile/CP ABER

if "CP " is here, i got error 403.

How can i fix it ? Thanks

1 Answers

Spaces is not allowed in url. You need to encode it. When you encode it spaces will converted to %20. so your url will look like /addFile/CP%20ABER.

Related