Bug 40719 - Explicit turn off RELATIVE file paths for plugins for user-entered templates
Summary: Explicit turn off RELATIVE file paths for plugins for user-entered templates
Status: Needs Signoff
Alias: None
Product: Koha
Classification: Unclassified
Component: Notices (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement
Assignee: Kyle M Hall (khall)
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-28 11:34 UTC by Kyle M Hall (khall)
Modified: 2025-08-28 11:38 UTC (History)
0 users

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: Trivial patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 40719: Explicitly disable off RELATIVE file paths for plugins for user-entered templates (1.12 KB, patch)
2025-08-28 11:35 UTC, Kyle M Hall (khall)
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Kyle M Hall (khall) 2025-08-28 11:34:33 UTC
In bug 39184 we set EVAL_PERL and ABSOLUTE to 0, which is the default. RELATIVE also defaults to 0. For security we should probably specify that as well in case the default is changed somehow.
Comment 1 Kyle M Hall (khall) 2025-08-28 11:35:54 UTC
Created attachment 185848 [details] [review]
Bug 40719: Explicitly disable off RELATIVE file paths for plugins for user-entered templates

In bug 39184 we set EVAL_PERL and ABSOLUTE to 0, which is the default. RELATIVE also defaults to 0. For security we should probably specify that as well in case the default is changed somehow.

Test Plan:
1) Apply this patch
2) Generate some notices
3) No change should be noted!