This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests
are now tracked at the issue tracker at Github.
Closed
Fixed
FS#2322 getimagesize in JpegMeta.php
Backend
2011-09-05ray81
If you use the imageflow plugin together with the popupviewer you get an error of getimagesize, because it checks on a directory, not a file.
This problem reveils 2 bugs. The first one in the plugin. Obviously it shouldn't call the function on a directory.
The other bug is in Dokuwiki itself.
On line 1210 of inc/JpegMeta.php: if (file_exists($this->_fileName)) {
But file_exists also returns true if it checks a directory.
This line should be changed to: if (file_exists($this->_fileName) && is_file($this->_fileName)) {
Now we truly know there is a file that excists.