A
A
ArtyomLength2018-10-26 08:32:21
Laravel
ArtyomLength, 2018-10-26 08:32:21

How to remove a redirect from a slash to without a slash?

By default, routing works in such a way that it automatically redirects to without a slash, even if the routes indicate that a slash is needed. Middleware doesn't help. Has anyone come across?
htaccess don't suggest.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Z
zorca, 2018-10-26
@ArtyomLength

https://github.com/fsasvari/laravel-trailing-slash

J
JhaoDa, 2018-10-26
@JhaoDa

The redirect is not done by Laravel. Unexpected, right?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question