1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-11 19:14:09 +02:00

feat: sanitize root folder also in php error messages (#3262)

This commit is contained in:
Dag
2023-03-06 21:47:25 +01:00
committed by GitHub
parent a01c1f6ab0
commit 007f2b2d8a
5 changed files with 38 additions and 17 deletions

View File

@@ -16,11 +16,11 @@
</div>
<div>
<strong>Message:</strong> <?= e($e->getMessage()) ?>
<strong>Message:</strong> <?= e(sanitize_root($e->getMessage())) ?>
</div>
<div>
<strong>File:</strong> <?= e(trim_path_prefix($e->getFile())) ?>
<strong>File:</strong> <?= e(sanitize_root($e->getFile())) ?>
</div>
<div>