Marien Fressinaud
|
7533676ae7
|
Add support for images to the ext.php endpoint (#2465)
|
5 years ago |
Alexandre Alapetite
|
74f92658b7
|
Fix for extensions on Windows (#2348)
https://github.com/FreshRSS/FreshRSS/issues/994
https://github.com/FreshRSS/FreshRSS/issues/2287
|
6 years ago |
Girish Ramakrishnan
|
fa3532dc8e
|
Use realpath of EXTENSIONS_PATH (#1911)
This handles the case where the extensions directory might be a symlink
|
6 years ago |
Alexandre Alapetite
|
52d0988655
|
Use __DIR__ for relative include and require
For uniformity, and to avoid having PHP searching in include_path.
http://php.net/manual/function.include.php
https://github.com/FreshRSS/FreshRSS/pull/1715
https://github.com/FreshRSS/FreshRSS/pull/1711#issuecomment-350581350
|
7 years ago |
Marien Fressinaud
|
a2da70fd11
|
Fix security hole from ext.php script.
Now, ext.php can only serve file under a EXTENSIONS_PATH/ext_dir/static/ directory.
A 400 Bad Request error will be returned for other files.
See https://github.com/FreshRSS/FreshRSS/issues/252
And https://github.com/FreshRSS/FreshRSS/commit/f9b037742a0aeb49cab86782d1a59913c2de47b
|
10 years ago |
Marien Fressinaud
|
f9b037742a
|
Update ext.php to serve any file from extensions
Add an extension->getFileUrl() method to facilitate url generation
|
10 years ago |
Alexandre Alapetite
|
5a9b08e084
|
Primitive extension system: minor change
https://github.com/marienfressinaud/FreshRSS/issues/252
|
10 years ago |
Alexandre Alapetite
|
febabccdd5
|
Primitive extension system
https://github.com/marienfressinaud/FreshRSS/issues/252
I have been using this extension system for a little while, in
particular to include custom CSS and/or JavaScript (inclusion of PHP
code is not done yet).
There is very little code and it does not impact performances.
I hurry to post it before
https://github.com/marienfressinaud/FreshRSS/issues/655
|
10 years ago |