From 3785daf8aa8236c28b2e0aab52bc4d7c39c4668f Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Wed, 19 Apr 2023 14:40:44 -0300 Subject: [PATCH] normalize relay url from Tag.Relay(). --- tags.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tags.go b/tags.go index b3b8d585..4a3f0ff 100644 --- a/tags.go +++ b/tags.go @@ -49,7 +49,7 @@ func (tag Tag) Value() string { func (tag Tag) Relay() string { if (tag[0] == "e" || tag[0] == "p") && len(tag) > 2 { - return tag[2] + return NormalizeURL(tag[2]) } return "" }