Ktor 1.5 changed the trailing slashes behavior, wh...
# ktor
m
Ktor 1.5 changed the trailing slashes behavior, which is fine / good, but this here does not appear to work:
Copy code
route("/resource") {
   get("/") {
  ...
If i call GET /resource/, I get a not found. /resource works
Copy code
route("/resource/") {
   get {
   ...
In this case, GET /resource/ is found, but /resource not (expected behavior) Is this intended behavior, a bug, or am I missing something?
r
the first example is a bug. both
/resource
and
/resource/
should be handled
m
I submitted an issue in YouTrack https://youtrack.jetbrains.com/issue/KTOR-1615
👍 1