Files
scrypted/plugins
thllxb 41f2d87a48 fix(reolink): do not percent-encode RTMP credential params (#2058)
The Reolink RTMP server does not percent-decode query parameter values - it compares the raw bytes from the URL against the stored password. URLSearchParams.set() percent-encodes values when the URL is serialised (WHATWG application/x-www-form-urlencoded), which corrupts passwords containing characters such as '!' (-> '%21'), '#' (-> '%23'), '+' (-> '%2B'), space, etc.

Affected: users whose firmware causes getLoginParameters to return {user, password} (instead of a Login-API token) and whose password contains any of those characters. Symptom: rebroadcast prebuffer fails with 'Socket received FIN' immediately after 'Sending play command'.

Append the RTMP credential pairs as raw bytes instead of going through URLSearchParams. Token-only path is unaffected (hex tokens contain no characters that require encoding). Mirrors the rationale of #1509 for the HTTP API path.

Fixes #2057

Co-authored-by: thllxb <223556219+Copilot@users.noreply.github.com>
2026-06-01 15:17:42 -07:00
..
2025-03-21 08:08:27 -07:00
2026-01-08 08:31:57 -08:00
2024-03-25 12:44:25 -07:00
2026-03-08 10:39:00 -07:00
2025-07-31 11:03:24 -07:00
2024-02-12 15:52:11 -08:00
2024-08-10 10:36:26 -07:00
2025-10-03 08:03:47 -07:00
2025-08-28 09:44:48 -07:00
2026-03-08 10:42:04 -07:00
2026-03-08 10:39:00 -07:00
2024-11-08 09:14:11 -08:00
2026-03-08 10:39:00 -07:00
2025-06-18 14:01:16 -07:00
2023-06-30 17:58:23 -07:00
2026-01-19 22:16:44 -08:00
2025-07-22 11:11:16 -07:00
2024-11-15 10:02:13 -08:00