You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When you try to use the "PDF Version" link to create a PDF of the FAQ article, it works except for images that have spaces in the file names.
To Reproduce
Create an image (png) and save it with a space in the name. Like "This image name has spaces.png". Then create an FAQ article and add that image to the article. The article looks good and it publishes fine. The users can see the article with the image as intended. But if you click the "PDF Version" link, the PDF will not contain the image. If you save the same image as "This_image_name_has_no_spaces.png" and add it just like before. The PDF will include the image.
Expected behavior
The PDF creation should account for images that may have spaces in them and take the appropriate action so those images are included in the PDF just like all other images.
phpMyFAQ (please complete the following information):
phpMyFAQ version: 3.1.11
PHP version: 8.0.22
Database: MariaDB 10.3.32 (MySQL)
Desktop (please complete the following information):
OS: Windows 11
Browser: Chrome
Version: Version 110.0.5481.178 (Official Build) (64-bit)
The text was updated successfully, but these errors were encountered:
What is the update on this issue? I see it has been pushed back to a later version. Is there an ETA for that later version? The reason I ask is because I need to do something about this soon. If the fix isn't going to come out soon, I will need to create a script to go through all the FAQ's and rework the links and then rework the file names. Then put out a policy so file names like that are not created in the future (which of course will be promptly ignored and the problem will continue). Don't want to have to do that if I don't have to.
Describe the bug
When you try to use the "PDF Version" link to create a PDF of the FAQ article, it works except for images that have spaces in the file names.
To Reproduce
Create an image (png) and save it with a space in the name. Like "This image name has spaces.png". Then create an FAQ article and add that image to the article. The article looks good and it publishes fine. The users can see the article with the image as intended. But if you click the "PDF Version" link, the PDF will not contain the image. If you save the same image as "This_image_name_has_no_spaces.png" and add it just like before. The PDF will include the image.
Expected behavior
The PDF creation should account for images that may have spaces in them and take the appropriate action so those images are included in the PDF just like all other images.
phpMyFAQ (please complete the following information):
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: