aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/configureController.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controllers/configureController.php')
-rw-r--r--app/Controllers/configureController.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/Controllers/configureController.php b/app/Controllers/configureController.php
index d766aa97d..8ec14fce9 100644
--- a/app/Controllers/configureController.php
+++ b/app/Controllers/configureController.php
@@ -397,6 +397,12 @@ class FreshRSS_configure_Controller extends FreshRSS_ActionController {
if (!empty($params['shareOpml']) && ctype_digit($params['shareOpml'])) {
$queryParams['shareOpml'] = (bool)$params['shareOpml'];
}
+ if (!empty($params['description']) && is_string($params['description'])) {
+ $queryParams['description'] = htmlspecialchars_decode($params['description'], ENT_QUOTES);
+ }
+ if (!empty($params['imageUrl']) && is_string($params['imageUrl'])) {
+ $queryParams['imageUrl'] = $params['imageUrl'];
+ }
$queryParams['url'] = Minz_Url::display(['params' => $queryParams]);
$queryParams['name'] = $name;