opendylan icon indicating copy to clipboard operation
opendylan copied to clipboard

Cannot convert a '<string>' URL to class '<url>'

Open fraya opened this issue 8 months ago • 0 comments

as(<url>, "https://play.opendylan.org") Invalid URL 'https://play.opendylan.org/': no file or directory component

Conversion to <https-server> works as expected.

as(<https-server>, "https://play.opendylan.org")

Conversion to <http-server> does not raise an error, but the type returned is <https-server>.

as(<http-server>, "https://play.opendylan.org")

Comment from @cgay

I guess the file or directory component should default to /

fraya avatar Apr 10 '25 16:04 fraya