Skip to content
This repository has been archived by the owner on Jan 2, 2023. It is now read-only.

ContentNotFoundError is thrown if HTML file contains links to filenames with multiple dots '.' #5291

Open
ghost opened this issue Dec 20, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented Dec 20, 2022

wkhtmltopdf version(s) affected: 0.12.6

OS information
Windows 10, 64Bit

Description
When the HTML file to be converted contains 'link' entries or 'script' entries referring to files with multiple dots in the filename, wkhtmltopdf returns with error

How to reproduce
A sample line is a link entry containing
href="/assets/vendors/node_modules/font/css/materialdesignicons.min.css?tag={{ back_tag }}" rel="stylesheet" media="screen,projection,print".
If I use the same line but without .min in the css filename everything is fine.

Expected behavior
All filenames valid on the host system shall also be accepted by wkhtmltopdf.

Possible Solution

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

0 participants