Skip to content

Instantly share code, notes, and snippets.

@quangpd
Created October 6, 2021 08:19
Show Gist options
  • Save quangpd/672ef6d31b3c3f35d73944eaf576f539 to your computer and use it in GitHub Desktop.
Save quangpd/672ef6d31b3c3f35d73944eaf576f539 to your computer and use it in GitHub Desktop.
Disable routes check last foward slash on URI
system\Router\Router.php
Add $uri = rtrim($uri, '/');
Before $uri = urldecode($uri); // Line 141
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment