From dbdadbb4107878d9233f635c31a88afe45957101 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Tue, 1 Apr 2025 17:54:52 +0200 Subject: Make update URL readonly (#7477) The security risks look higher than the minor convinience Modify https://github.com/FreshRSS/FreshRSS/pull/1024 --- app/Controllers/configureController.php | 1 - 1 file changed, 1 deletion(-) (limited to 'app/Controllers/configureController.php') diff --git a/app/Controllers/configureController.php b/app/Controllers/configureController.php index d1912fbc9..d502ca717 100644 --- a/app/Controllers/configureController.php +++ b/app/Controllers/configureController.php @@ -505,7 +505,6 @@ class FreshRSS_configure_Controller extends FreshRSS_ActionController { $limits['cookie_duration'] = Minz_Request::paramInt('cookie-duration') ?: FreshRSS_Auth::DEFAULT_COOKIE_DURATION; FreshRSS_Context::systemConf()->limits = $limits; FreshRSS_Context::systemConf()->title = Minz_Request::paramString('instance-name') ?: 'FreshRSS'; - FreshRSS_Context::systemConf()->auto_update_url = Minz_Request::paramString('auto-update-url'); FreshRSS_Context::systemConf()->force_email_validation = Minz_Request::paramBoolean('force-email-validation'); FreshRSS_Context::systemConf()->save(); -- cgit v1.2.3