Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LTutor wandelt Dateien in eine PDF um, wenn der mimeType nicht korrekt erkannt wird #322

Open
tilluhlig opened this issue May 18, 2018 · 0 comments
Labels
Milestone

Comments

@tilluhlig
Copy link
Member

Der Fehler wurde in Version 0.6.2 entdeckt.

logic/LTutor/LTutor.php:512

if (!isset($newFile['mimeType']) || strpos($newFile['mimeType'],'text/')!==false){

durch das !isset($newFile['mimeType']) wird ebenfalls eine Umwandlung in eine PDF vorgenommen, wenn Assistants/MimeReader.php eine NULL meldet, weil der mime-Type nicht bestimmt werden konnte

@tilluhlig tilluhlig added the bug label May 18, 2018
@tilluhlig tilluhlig added this to the version 0.7 milestone May 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant