the ktor Url class seems to accept bogus url strin...
# ktor
e
the ktor Url class seems to accept bogus url strings when you construct with
Url("bogus")
(it turns that into http://localhost/bogus)….anybody know of a good kmp way to validate a Url?
e
Hi @edenman, yep it looks like the
Url
is wokring like
takeFrom
builder. We have the url parser inside ktor, could you file an issue for this? We can expose it 🙂
👍 1
Btw PRs are always welcome 🙂
e
filed https://github.com/ktorio/ktor/issues/1903 lmk what you think of the proposed API
e
Thanks!