New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Locations: Support trailing / #25
Comments
I agree. Having the trailing / or not is considered as two different urls. It could serve (even if it is not recommended) 2 different contents. I have the same problem as @mathiasbn. An older website I plan to migrate have urls with the trailing /. It would be easier to do the migration with locations managing it. |
This issue has been automatically marked as stale because it has not had recent activity. |
For follow-ups to this issue, please see https://youtrack.jetbrains.com/issue/KTOR-836 |
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks. |
At the moment you cannot create hrefs from a location with trailing /:
/somepath/
as it would end up being/somepath
This should of cause also work for nested Locations, so i could do:
and get
/somepath/
and/somepath/nested/
The text was updated successfully, but these errors were encountered: