Grandt / PHPePub

PHP Classes for dynamically generating EPub files.
http://www.phpclasses.org/package/6115
241 stars 83 forks source link

Fix #24 : Encoding special caracters for filename #41

Open egilli opened 8 years ago

egilli commented 8 years ago

24 is a bit old, but the filename is still not sanitized. This PR use FileHelper::sanitizeFilename to fix that, and add + as a forbidden character (some Kobo device don't like it and ignore chapters with this characters in the filename).