Page MenuHomeDevCentral

Don't call get_url from templates
ClosedPublic

Authored by dereckson on Sun, Oct 19, 23:19.
Tags
None
Referenced Files
F12348278: D3782.diff
Mon, Oct 27, 12:29
F12341848: D3782.id.diff
Sun, Oct 26, 19:53
F12341224: D3782.diff
Sun, Oct 26, 17:58
Unknown Object (File)
Sun, Oct 26, 09:51
Unknown Object (File)
Sun, Oct 26, 02:31
Unknown Object (File)
Sat, Oct 25, 11:24
Unknown Object (File)
Fri, Oct 24, 08:05
Unknown Object (File)
Fri, Oct 24, 07:55
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.Sun, Oct 19, 23:26
This revision was automatically updated to reflect the committed changes.