net/address: add tests and fix parsing edge cases #1472

Open
HMarcien wants to merge 1 commit from hmarcien/test-address into v0.19-staging AGit
Member
No description provided.
HMarcien requested reviews from vyzo, fare 2026-06-30 17:13:42 +00:00
vyzo left a comment

looks good, just a small question.

looks good, just a small question.
@ -259,3 +255,1 @@
(raise-bad-argument string->address "unknown domain" addr))))))
(else
(raise-bad-argument string->address "not a canonical address" addr)))
(: (let (addr (string-trim addr))
Owner

is the trim really necessary? Shouldn't it be the responsibility of the caller?

is the trim really necessary? Shouldn't it be the responsibility of the caller?
This pull request has changes conflicting with the target branch.
  • src/std/net/address/parser.ss
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin +refs/pull/1472/head:hmarcien/test-address
git switch hmarcien/test-address

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch v0.19-staging
git merge --no-ff hmarcien/test-address
git switch hmarcien/test-address
git rebase v0.19-staging
git switch v0.19-staging
git merge --ff-only hmarcien/test-address
git switch hmarcien/test-address
git rebase v0.19-staging
git switch v0.19-staging
git merge --no-ff hmarcien/test-address
git switch v0.19-staging
git merge --squash hmarcien/test-address
git switch v0.19-staging
git merge --ff-only hmarcien/test-address
git switch v0.19-staging
git merge hmarcien/test-address
git push origin v0.19-staging
Sign in to join this conversation.
No description provided.