wkhtmltopdf not using http URLs when converting
by mfoley from LinuxQuestions.org on (#6MNMT)
I'm using wkhtmltopdf version 0.11.0 rc1. I recently upgraded my Linux host to Slackware 15.0, kernel 5.15.145. Before the upgrade I could use a line like:
Code:<Div style="background-image: url('https://www.myorg.com/ohprs/images/2023-15Twks1B.jpg');">And wkhtmltopdf would convert that to PDF just fine. After upgrading to 15.0 that no longer works. Now I have to use:
Code:<Div style="background-image: url('/srv/tomcat/webapps/ohprs/images/2023-15Twks1B.jpg');">The version of wkhtmltopdf hasn't changed and I really can't see how upgrading the OS would affect that, but the former example definitely work before (for year) and now does not.
Any idea?
Code:<Div style="background-image: url('https://www.myorg.com/ohprs/images/2023-15Twks1B.jpg');">And wkhtmltopdf would convert that to PDF just fine. After upgrading to 15.0 that no longer works. Now I have to use:
Code:<Div style="background-image: url('/srv/tomcat/webapps/ohprs/images/2023-15Twks1B.jpg');">The version of wkhtmltopdf hasn't changed and I really can't see how upgrading the OS would affect that, but the former example definitely work before (for year) and now does not.
Any idea?