For reasons of the question: Why eats a slash in the bracket group of a regular expression?
If you use redirection like this:
RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?_route=$1 [L,QSA]
That at request of a type
http://localhost//activation-account/$2y$10$Xl40W/SKTOXYcxfCxGszr.9tbd//lNJSVJTpBh4umjWf/9GNMSlJy/loginfiko
in the $_GET['_route'] variable we get the wrong result:
activation-account/$2y$10$Xl40W/SKTOXYcxfCxGszr.9tbd/lNJSVJTpBh4umjWf/9GNMSlJy/loginfiko
Double slash replaced by single!
I think that it is more appropriate to use redirection like this:
RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} ^(.*)$ RewriteRule ^ index.php?_route=%1 [L,QSA]
Then in the variable $_GET['_route'] we get the result:
/activation-account/$2y$10$Xl40W/SKTOXYcxfCxGszr.9tbd//lNJSVJTpBh4umjWf/9GNMSlJy/loginfiko
Double slashes on the spot + second slash after the host hit the variable.
PS Nobody has canceled the $_SERVER['REQUEST_URI'] variable, the contents of which can be parsed as you like.