gleam-lang / gleam-lang/stdlib

uri.parse does not follow RFC 3986 on JS

Open
#523 21 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
Gleam
Stars
710
Forks
225
Avg merge
5h 52m
Merged PRs (30d)
3

Description

Current `uri.parse` does not follow the RFC.
JS `new URL("")` does not follow that RFC, either.

Specifically, "ws:path" is not split into a scheme and a path. This would be useful for opening a websocket from browser to the server, when connecting to the 'same' host.

As far as I can tell, the erlang ffi `uri_string:parse()` is following the RFC.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.