]> BookStack Code Mirror - bookstack/commit
Security: Added new SSR allow list and validator
authorDan Brown <redacted>
Sat, 26 Aug 2023 14:28:29 +0000 (15:28 +0100)
committerDan Brown <redacted>
Sat, 26 Aug 2023 14:28:29 +0000 (15:28 +0100)
commitc324ad928dbdd54ce5b09eb0dabe60ef9de1ea38
tree82c5045d7f85998790e1bddcd23345b9e38eedfa
parent9100a82b47b7174d76bb4854716702603403a4e7
Security: Added new SSR allow list and validator

Included unit tests to cover validator functionality.
Added to webhooks.
Still need to do testing specifically for webhooks.
app/Activity/DispatchWebhookJob.php
app/Config/app.php
app/Util/SsrUrlValidator.php [new file with mode: 0644]
lang/en/errors.php
tests/Unit/SsrUrlValidatorTest.php [new file with mode: 0644]