Comparison

CHANGES @ 13126:d043834f15d2

mod_http: Use RFC 7239 Forwarded header to find original client IP Prefer over X-Forwarded-* since it has an actual specification. Main practical difference is that Forwarded may carry more properties than only the IP address since it is a structured header. Since we parse it into an array, it is easier to do the logical thing and iterate backwards trough proxies until an untrusted one is encountered. Compare the handling of X-Forwarded-For. The 'secure' field now accounts for the full chain of proxies, which must be secure all the way to be considered secure.
author Kim Alvefur <zash@zash.se>
date Sat, 03 Jun 2023 17:10:04 +0200
parent 12978:088d278c75b5
child 13127:f45a29b32f7a
comparison
equal deleted inserted replaced
13125:90394be5e6a5 13126:d043834f15d2
40 40
41 - Support sub-second precision timestamps 41 - Support sub-second precision timestamps
42 - mod_blocklist: New option 'migrate_legacy_blocking' to disable migration from mod_privacy 42 - mod_blocklist: New option 'migrate_legacy_blocking' to disable migration from mod_privacy
43 - Ability to use SQLite3 storage using LuaSQLite3 instead of LuaDBI 43 - Ability to use SQLite3 storage using LuaSQLite3 instead of LuaDBI
44 - Moved all modules into the Lua namespace `prosody.` 44 - Moved all modules into the Lua namespace `prosody.`
45 - Forwarded header from RFC 7239 supported
45 46
46 ## Removed 47 ## Removed
47 48
48 - Lua 5.1 support 49 - Lua 5.1 support
49 - XEP-0090 support removed from mod_time 50 - XEP-0090 support removed from mod_time