The URLs representing directories usually end in trailing slashes, but the URL itself is not a file system, so it is correct in both cases .
The trailing slash is almost certainly executed by Apache mod_dir . There are some points in the documentation why this is good practice. Although:
If you do not want this effect, and the above reasons do not apply to you can turn off the redirect ...
source share