<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="default-style" style="">
<div class="default-style" style="">
Package: purple-xmpp-http-upload
<br>
Version: 0.2.4-2
<br>
Severity: normal
<br>
Tags: patch
</div>
<div class="default-style" style="">
Uploads fail with HTTP 401 against Prosody 13 (mod_http_file_share), and Pidgin
<br>
reports "cancelled the transfer". Cause: src/jabber_http_file_upload.c reads the
<br>
XEP-0363 slot's <header name="Authorization"> under the British spelling
<br>
("Authorisation") and sends it under that name, so the token never reaches the
<br>
server. Prosody 13 requires the header.
</div>
<div class="default-style" style="">
The attached one-line patch looks the header up under the standard name (keeping
<br>
the misspelling as a fallback) and sends "Authorization:". Upstream
<br>
(github.com/Junker/purple-xmpp-http-upload) is archived since 2025-09, so this cannot
<br>
be fixed there.
</div>
</div>
</body>
</html>