Skip to content
Commit c8742b3f authored by Albert Vaca Cintora's avatar Albert Vaca Cintora
Browse files

Fixed epub generator not being able to load resources on some files.

Cases that are fixed by this change are:
- Filenames that didn't start with "/" weren't concatenated properly to
  the base path.
- Non-normalized paths (eg: having "../") couldn't be resolved by libepub.
  QUrl::resolved() normalizes the  paths after concatenating them.
- Paths with special characters were escaped because of using
  QUrl::toString() instead of QUrl::path(), making them not work.

Reviewed by Albert Astals.
parent aa38e8d1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment