hachyderm.io is one of the many independent Mastodon servers you can use to participate in the fediverse.
Hachyderm is a safe space, LGBTQIA+ and BLM, primarily comprised of tech industry professionals world wide. Note that many non-user account types have restrictions - please see our About page.

Administered by:

Server stats:

9.4K
active users

@molly0xfff apparently this cannot handle domains .example, .local, localhost, or schemes mailto: or (more generally) non-http(s).

@anthony the auth: URI we proposed in one of the IETF mailing lists is more interesting anyway.

@anthony or non-ASCII

But both are listed as to do in the source

Not so much non http(s) 😕

@SoniEx2

@SoniEx2 I think once you leave http[s] the meaning of everything past the : becomes essentially random, so maybe they just went "lets follow the whatwg url spec" specifically to match browser behaviour. Then it's a matter of just handling all the special case hostnames which I guess they don't (though part of me is "why would eTLDs etc require special handling?"). Does it handle IDN at least?

@ohunt it doesn't even follow the whatwg url spec.

we'd know, we've read it tens of times as part of making fedilinks.

@SoniEx2 @ohunt Aww, they didn’t bother with about: scheme URLs either.

@janWilejan @molly0xfff

Thanks!

I can see that URL.search works with this URL, though it is quite unusual :).

I do use the URL API, but I also need to create regexes to add spans correctly. I'll have another go.

glitch.com/edit/#!/url-parts?p

glitch.comGlitch Code Editor ・゚✧Simple, powerful, free tools to create and use millions of apps.

@molly0xfff huh. I wonder what the point of the 'site' component is. Seems strange to pair the scheme with just the registrable domain

@molly0xfff doesn't handle IP addresses

Nice visualization, but not as complete as I'd've expected

@molly0xfff @slightlyoff Cool! It seems to be missing the "authority” part, though. Is that because it doesn't support usernames, perhaps?