From 6e3a2490ec3ec0f3acd3a99827793e3f5f6a0a39 Mon Sep 17 00:00:00 2001 From: Martin Dosch Date: Sat, 26 Nov 2022 12:33:12 +0100 Subject: [PATCH] Update comment. --- httpupload.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/httpupload.go b/httpupload.go index 8f8fcf3..0b626de 100644 --- a/httpupload.go +++ b/httpupload.go @@ -45,8 +45,8 @@ func httpUpload(client *xmpp.Client, iqc chan xmpp.IQ, // Get file name fileName := filepath.Base(filePath) - // Just use alphanumerical characters for now to work around - // https://github.com/mattn/go-xmpp/issues/132 + // Just use alphanumerical and some special characters for now + // to work around https://github.com/mattn/go-xmpp/issues/132 reg, err := regexp.Compile(`[^a-zA-Z0-9\+\-\_\.]+`) if err != nil { log.Fatal(err)