ktor icon indicating copy to clipboard operation
ktor copied to clipboard

Issue #1903. Added code to parse the url if valid else return null

Open chetankokil opened this issue 2 years ago • 0 comments

Subsystem ktor-Http

Motivation issue #1903. Currently the Url parse return valid url when a bogus url is passed.

Solution Added a function to the Url Companion object, which parse the urlstring and return the valid url if present else returns null instead of appending http://localhost to the invalid url

chetankokil avatar Aug 28 '22 00:08 chetankokil