Page MenuHomeDevCentral

Don't call get_url from templates
ClosedPublic

Authored by dereckson on Oct 19 2025, 23:19.
Tags
None
Referenced Files
F25128658: D3782.id9796.diff
Tue, Mar 31, 17:23
F25128627: D3782.id9798.diff
Tue, Mar 31, 17:22
F25126299: D3782.diff
Tue, Mar 31, 12:42
F25125875: D3782.id9799.diff
Tue, Mar 31, 12:23
Unknown Object (File)
Mon, Mar 30, 23:11
Unknown Object (File)
Mon, Mar 30, 06:35
Unknown Object (File)
Sun, Mar 29, 10:08
Unknown Object (File)
Sun, Mar 29, 05:12
Subscribers
None

Details

Summary

To avoid arbitrary execution of PHP code inside Smarty,
move the responsibility to call get_url() from the template
to the relevant controller code.

Diff Detail

Repository
rOBSIDIAN Obsidian Workspaces
Lint
No Lint Coverage
Unit
No Test Coverage
Branch
main
Build Status
Buildable 6054
Build 6338: arc lint + arc unit

Event Timeline

dereckson created this revision.
dereckson added inline comments.
workspaces/src/controllers/errorpage.php
61

Already defined line 56.

Use already defined URL_HOME in 404

This revision is now accepted and ready to land.Oct 19 2025, 23:26
This revision was automatically updated to reflect the committed changes.