Join Slack
the ktor Url class seems to accept bogus url strings when you construct with `Url("bogus")` (it turn...
# ktor
e
edenman
05/27/2020, 8:41 PM
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
e5l
05/28/2020, 1:15 PM
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
e5l
05/28/2020, 1:16 PM
Btw PRs are always welcome 🙂
e
edenman
05/28/2020, 6:38 PM
filed
https://github.com/ktorio/ktor/issues/1903
lmk what you think of the proposed API
e
e5l
05/29/2020, 1:00 PM
Thanks!
4
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by