Page MenuHomeDevCentral

Don't call get_url from templates
ClosedPublic

Authored by dereckson on Oct 19 2025, 23:19.
Tags
None
Referenced Files
F23778940: D3782.id9799.diff
Fri, Feb 6, 16:10
F23752655: D3782.id9796.diff
Fri, Feb 6, 11:08
F23752605: D3782.id9798.diff
Fri, Feb 6, 11:08
Unknown Object (File)
Thu, Feb 5, 20:21
Unknown Object (File)
Mon, Feb 2, 03:03
Unknown Object (File)
Mon, Feb 2, 01:25
Unknown Object (File)
Sat, Jan 31, 23:23
Unknown Object (File)
Sat, Jan 31, 19: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 6055
Build 6339: 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.