It looks like Vapor’s routing is based on Character.
let pathComponents = request.url.path
.split(separator: "/")
.map(String.init)
i.e. it’s using Collection<Character>.split. Is this a problem?
It looks like Vapor’s routing is based on Character.
let pathComponents = request.url.path
.split(separator: "/")
.map(String.init)
i.e. it’s using Collection<Character>.split. Is this a problem?