Ticket #757 (fixed enhancement)
pun_include: Allow files from subdirectories
- Created: 2012-10-26 11:58:55
- Reported by: Franz
- Assigned to: adaur
- Milestone: 1.5.1
- Component: templates
- Priority: normal
As suggested in this topic, it would be cool to organize user include files into subdirectories.
We need to be careful, though. Right now, slashes are simply not allowed as a security measure. We have to be sure to not allow directory traversal. I'll have to research whether just disallowing dots is enough.
adaur 2012-10-28 15:16:26
PHP function pathinfo might be more appropriate for this.
I played a little bit with it: https://github.com/fluxbb/fluxbb/pull/57
JohnLewis 2012-10-28 18:53:29
- Owner set to adaur.
Since you submitted a pull request, I assume that means you want to take this on. Assign it yourself next time.
adaur 2012-10-31 11:02:07
- Status changed from open to fixed.
Should be good. Feel free to test the changes