YunoHost-Apps / discourse_ynh

Discourse package for YunoHost
https://www.discourse.org/
GNU General Public License v2.0
24 stars 11 forks source link

[autopatch] Fix Host and X-Forwarded-For header spoofing #156

Closed yunohost-bot closed 6 months ago

yunohost-bot commented 1 year ago

The proxied Host header may be spoofed. Description: In most cases "$host" variable are more appropriate, just use it. Additional info: https://github.com/yandex/gixy/blob/master/docs/en/plugins/hostspoofing.md