]> BookStack Code Mirror - bookstack/commit
Added untrusted server fetching control
authorDan Brown <redacted>
Tue, 31 Aug 2021 19:22:42 +0000 (20:22 +0100)
committerDan Brown <redacted>
Tue, 31 Aug 2021 19:22:42 +0000 (20:22 +0100)
commitbee5e2c7ca637d034c6985c0328cef0ce068778e
tree3d102e849aa8769e11bd8cafb467383b14eb37ae
parent8f12c8bc99d83e59e3a7ea0c14fad773616ed0d3
Added untrusted server fetching control

WKHTMLtoPDF provides limited control for external fetching
so that will now be disabled by default unless
ALLOW_UNTRUSTED_SERVER_FETCHING=true is specifically set.
This new option will also control DOMPDF fetching.
.env.example.complete
app/Config/app.php
app/Config/dompdf.php
app/Entities/Tools/ExportFormatter.php
phpunit.xml
tests/Entity/ExportTest.php
tests/Unit/ConfigTest.php