Page MenuHomeDevCentral

Don't call get_url from templates
ClosedPublic

Authored by dereckson on Oct 19 2025, 23:19.
Tags
None
Referenced Files
F24102639: D3782.id9799.diff
Tue, Feb 10, 00:05
F24102638: D3782.id9797.diff
Tue, Feb 10, 00:05
F24102637: D3782.id9796.diff
Tue, Feb 10, 00:05
F24102636: D3782.id9798.diff
Tue, Feb 10, 00:05
F24098218: D3782.diff
Mon, Feb 9, 19:09
Unknown Object (File)
Sun, Feb 8, 07:22
Unknown Object (File)
Sun, Feb 8, 05:46
Unknown Object (File)
Sun, Feb 8, 02:29
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 6056
Build 6340: arc lint + arc unit

Event Timeline

dereckson created this revision.
dereckson added inline comments.
workspaces/src/controllers/errorpage.php
61 ↗(On Diff #9796)

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.