Overview
Comment: | Make sure that skeletons can be downloaded, it's a funky security case, but hey it's easier like that |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | dev | 1.1.0-alpha7 |
Files: | files | file ages | folders |
SHA3-256: |
c7df5f56e65ef59845855d20e4a2c51c |
User & Date: | bohwaz on 2021-03-19 22:36:46 |
Other Links: | branch diff | manifest | tags |
Context
2021-03-19
| ||
23:09 | Merge trunk fixes check-in: 0e4057ab65 user: bohwaz tags: dev | |
22:36 | Make sure that skeletons can be downloaded, it's a funky security case, but hey it's easier like that check-in: c7df5f56e6 user: bohwaz tags: dev, 1.1.0-alpha7 | |
21:01 | Make sure access to skeletons is possible, but only via Skeleton class check-in: f0156b82a1 user: bohwaz tags: dev, 1.1.0-alpha7 | |
Changes
Modified src/include/lib/Garradin/Web/Web.php from [229d91f1c5] to [06fb7879ee].
︙ | ︙ | |||
136 137 138 139 140 141 142 | } $page = null; if ($uri == '') { $skel = 'index.html'; } | < < < | 136 137 138 139 140 141 142 143 144 145 146 147 148 149 | } $page = null; if ($uri == '') { $skel = 'index.html'; } elseif ($page = self::get($uri)) { $skel = $page->template(); $page = $page->asTemplateArray(); } else { // Trying to see if a custom template with this name exists if (preg_match('!^[\w\d_.-]+$!i', $uri)) { |
︙ | ︙ |