#1154458 purple-xmpp-http-upload: uploads fail with 401, Authorization header misspelled

Package:
purple-xmpp-http-upload
Source:
purple-xmpp-http-upload
Description:
HTTP File Upload plugin for libpurple
Submitter:
F A
Date:
2026-11-19 12:39:02 UTC
Severity:
normal
#1154458#5
Date:
2026-11-19 12:31:58 UTC
From:
To:
Package: purple-xmpp-http-upload
Version: 0.2.4-2
Severity: normal
Tags: patch
Uploads fail with HTTP 401 against Prosody 13 (mod_http_file_share), and Pidgin
reports "cancelled the transfer". Cause: src/jabber_http_file_upload.c reads the
XEP-0363 slot's <header name="Authorization"> under the British spelling
("Authorisation") and sends it under that name, so the token never reaches the
server. Prosody 13 requires the header.
The attached one-line patch looks the header up under the standard name (keeping
the misspelling as a fallback) and sends "Authorization:". Upstream
(github.com/Junker/purple-xmpp-http-upload) is archived since 2025-09, so this cannot
be fixed there.