Support Request: Unable to open PDF file "delivered in blob"

Description

Good morning,
I have a web page with some links to pdf files; these files are not direct links but links to a page that delivers files in format blob:https://www.xxx.yyy/fjsdfhkasjdhfkajhdf.
If I test in Chrome browser is everythings ok but in SK with Chrome engine not and I suppos that there is some security issues of SK that block the opening of this data stream/protocol.
I add to config file the scheme blob and I allowed it and inside the configuration panel I allow the download function and I choose "open file in SK" with autostart.
But I didn't obtain what I need.
Can you help me?
Thanks a lot
Edo

Answer: (3)

Re: Unable to open PDF file "delivered in blob" 12/23/2022 9:50 AM
Hello,

the behavior is reproducible and the problem is that the downloaded file does not open automatically in SiteKiosk (it works when double-clicking the downloaded TOTEM.PDF in the File Manager itself).

Our developer has investigated it and fixed the problem so that it will work in the next SiteKiosk Classic Windows version.

Until the next version is released, you can add the fix as follows.
Open the file "item.html" at "C:\Program Files (x86)\SiteKiosk\SiteKioskNG\assets\apps\contentPlayer\SiteKioskContent\public\out\downloadManager\components" with an editor (e.g. Notepad++).

Search for the line

return that.item.destinationPath.endsWith("." + cleanExtension);


Replace that line with this one

return that.item.destinationPath.toLowerCase().endsWith("." + cleanExtension.toLowerCase());


Regards,
Michael Olbrich
Re: Unable to open PDF file "delivered in blob" 12/23/2022 10:11 AM
Thanks a lot for your reply but after the editing you suggested I still have the same problem :-(

More ideas?

Thks
Edo
Re: Unable to open PDF file "delivered in blob" 12/23/2022 10:32 AM
Sorry, I have posted the wron path.

The correct path is "C:\Program Files (x86)\SiteKiosk\SiteKioskNG\assets\apps\contentPlayer\SiteKioskContent\public\src\downloadManager\components"
My Account
Login
Language (Tickets):