mirror of
https://github.com/Athou/commafeed.git
synced 2026-10-25 14:39:02 +00:00
prevent Host header injection attacks
This commit is contained in:
@@ -49,6 +49,13 @@ public interface CommaFeedConfiguration {
|
||||
@WithDefault("false")
|
||||
boolean passwordRecoveryEnabled();
|
||||
|
||||
/**
|
||||
* The base URL of the application to use in the password recovery link in the email. We can't
|
||||
* use the URL sent by the browser of the user because of malicious Host header injection
|
||||
* attacks.
|
||||
*/
|
||||
Optional<String> passwordRecoveryPublicBaseUrl();
|
||||
|
||||
/** Message displayed in a notification at the bottom of the page. */
|
||||
Optional<String> announcement();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user