qzind / tray

Browser plugin for sending documents and raw commands to a printer or attached device.
https://qz.io
Other
842 stars 274 forks source link

System properties to harden file reading/writing, http behavior #1213

Closed tresf closed 10 months ago

tresf commented 11 months ago

Should be merged AFTER #1190 so that Company Branded builds can toggle the properties as-needed.

Addresses:

Adds new properties to modify / re-enable this behavior:

[ERROR] 2023-11-07T22:28:52,419 @ qz.utils.ConnectionUtilities:48
    URL 'file:////text.txt' is not a valid [http,https] location.  Configure property 'security.data.protocols' to modify this behavior.
[ERROR] 2023-11-07T22:26:05,105 @ qz.printer.action.PrintRaw:407
    Printing to file 'test.txt' is not permitted.  Configure property 'security.print.tofile' to modify this behavior.
[ERROR] 2023-11-07T22:29:06,109 @ qz.common.App:123
    Server started on port(s): 8181