Page MenuHomeDevCentral

Don't call get_url from templates
ClosedPublic

Authored by dereckson on Oct 19 2025, 23:19.
Tags
None
Referenced Files
F53520592: D3782.diff
Sat, Oct 10, 15:15
F53474481: D3782.diff
Sat, Oct 10, 06:40
F53459031: D3782.id9798.diff
Sat, Oct 10, 04:08
Unknown Object (File)
Fri, Oct 9, 02:22
Unknown Object (File)
Mon, Oct 5, 11:07
Unknown Object (File)
Wed, Sep 30, 08:44
Unknown Object (File)
Tue, Sep 29, 23:05
Unknown Object (File)
Mon, Sep 28, 08:31
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.