Skip to content

[Bug] no-cache.txt causes undefined function errors #7885

@Inverle

Description

@Inverle

Describe the bug

Create data/no-cache.txt

Observe following response in requests like /i/?c=extension&a=serve&x=User CSS&f=style.css:


Fatal error: Uncaught Error: Call to undefined function httpConditional() in /var/www/FreshRSS/app/Controllers/extensionController.php:333 Stack trace: #0 /var/www/FreshRSS/lib/Minz/Dispatcher.php(117): FreshRSS_extension_Controller->serveAction() #1 /var/www/FreshRSS/lib/Minz/Dispatcher.php(48): Minz_Dispatcher->launchAction() #2 /var/www/FreshRSS/lib/Minz/FrontController.php(61): Minz_Dispatcher->run() #3 /var/www/FreshRSS/p/i/index.php(59): Minz_FrontController->run() #4 {main} thrown in /var/www/FreshRSS/app/Controllers/extensionController.php on line 333

FreshRSS version

1.27.1-dev

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug (unconfirmed)issues that could not be reproduced yet

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions