-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[BUG] PHP Fatal error: Uncaught TypeError sanitizeHTML(): Argument #1 ($data) #5622
Copy link
Copy link
Closed
Labels
Bug (confirmed) 🐞issues that are reproducibleissues that are reproducible
Milestone
Description
Describe the bug
Exported feeds with cli/export-zip-for-user.php
Try to import with cli/import-for-user.php to another user
Result in console
`\cli\import-for-user.php" --user User --filename "file.zip"
FreshRSS importing ZIP/OPML/JSON for user “User”…Fatal error: Uncaught TypeError: sanitizeHTML(): Argument https://github.com/FreshRSS/FreshRSS/issues/1 ($data) must be of type string, array given, called in W:\domains\loca lhost\fresh\f1\app\Controllers\importExportController.php on line 442 and defined in W:\domains\localhost\fresh\f1\lib\lib_rss.php: 334 Stack trace: #0 W:\domains\localhost\fresh\f1\app\Controllers\importExportController.php(442): sanitizeHTML() https://github.com/FreshRSS/FreshRSS/issues/1 W:\domains\localhost\fresh\f1\app\Controllers\importExportController.php(139): FreshRSS_importExport_Controller->importJson() https://github.com/FreshRSS/FreshRSS/issues/2 W:\domains\localhost\fresh\f1\cli\import-for-user.php(31): FreshRSS_importExport_Controller->importFile() https://github.com/FreshRSS/FreshRSS/issues/3 {main} thrown in W:\domains\localhost\fresh\f1\lib\lib_rss.php on line 334`
FreshRSS edge dev vesrion
PHP 8.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Bug (confirmed) 🐞issues that are reproducibleissues that are reproducible