Update comment.

restructure-xml-stanzas
Martin Dosch 2 years ago
parent d19a95ad0e
commit 6e3a2490ec
No known key found for this signature in database
GPG Key ID: 52A57CFCE13D657D

@ -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)

Loading…
Cancel
Save