Page MenuHomeDevCentral

Don't call get_url from templates
ClosedPublic

Authored by dereckson on Oct 19 2025, 23:19.
Tags
None
Referenced Files
F33815598: D3782.id.diff
Sun, Jun 21, 16:40
Unknown Object (File)
Sat, Jun 20, 09:01
Unknown Object (File)
Sat, Jun 20, 03:16
Unknown Object (File)
Thu, Jun 18, 08:12
Unknown Object (File)
Wed, Jun 17, 19:28
Unknown Object (File)
Wed, Jun 17, 13:04
Unknown Object (File)
Tue, Jun 16, 10:50
Unknown Object (File)
Tue, Jun 16, 08:40
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.