mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-19 05:44:39 -04:00
Housekeeping lib_rss.php (#8193)
* Housekeeping lib_rss.php `lib_rss.php` had become much too large, especially after https://github.com/FreshRSS/FreshRSS/pull/7924 Moved most functions to other places. Mostly no change of code otherwise (see comments). * Extension: composer run-script phpstan-third-party
This commit is contained in:
committed by
GitHub
parent
5e622c60fa
commit
a18c35046d
@@ -337,9 +337,9 @@ class FreshRSS_subscription_Controller extends FreshRSS_ActionController {
|
||||
$values = [
|
||||
'name' => Minz_Request::paramString('name'),
|
||||
'kind' => $feed->kind(),
|
||||
'description' => sanitizeHTML(Minz_Request::paramString('description', true)),
|
||||
'website' => checkUrl(Minz_Request::paramString('website')) ?: '',
|
||||
'url' => checkUrl(Minz_Request::paramString('url')) ?: '',
|
||||
'description' => FreshRSS_SimplePieCustom::sanitizeHTML(Minz_Request::paramString('description', true)),
|
||||
'website' => FreshRSS_http_Util::checkUrl(Minz_Request::paramString('website')) ?: '',
|
||||
'url' => FreshRSS_http_Util::checkUrl(Minz_Request::paramString('url')) ?: '',
|
||||
'category' => Minz_Request::paramInt('category'),
|
||||
'pathEntries' => Minz_Request::paramString('path_entries'),
|
||||
'priority' => Minz_Request::paramTernary('priority') === null ? FreshRSS_Feed::PRIORITY_MAIN_STREAM : Minz_Request::paramInt('priority'),
|
||||
|
||||
Reference in New Issue
Block a user