decode punycode in spartan hostnames #21

Closed
opened 2023-04-29 21:35:29 +00:00 by tjp · 1 comment
Owner

Skipping this for now, for expediency's sake

There is an implementation of punycode in the stdlib, but it's not clear that there's a good public API for getting access to it (manipulating an HTTP cookie jar does not count).

It also exists in x/net but it would require a new dependency.

Skipping this for now, for expediency's sake There is an implementation of punycode in the stdlib, but it's not clear that there's a good public API for getting access to it (manipulating an HTTP cookie jar does not count). It also exists in [x/net](https://pkg.go.dev/golang.org/x/net@v0.9.0/idna#ToASCII) but it would require a new dependency.
tjp added the
bug
label 2023-04-29 21:35:42 +00:00
tjp added
enhancement
and removed
bug
labels 2023-04-29 22:41:55 +00:00
tjp changed title from punycode in spartan hostnames to decode punycode in spartan hostnames 2023-04-29 22:42:10 +00:00
tjp added the
invalid
wontfix
labels 2023-05-01 14:20:03 +00:00
Author
Owner

Changing my mind on this, a punycode-encoded hostname is more useful in general so just leave it this way for the handlers.

Changing my mind on this, a punycode-encoded hostname is more useful in general so just leave it this way for the handlers.
tjp closed this issue 2023-05-01 14:20:38 +00:00
This repo is archived. You cannot comment on issues.
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: tjp/gus#21
No description provided.