![]() |
best and safe way of sending filename in url using CI 2.2 and smarty - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: best and safe way of sending filename in url using CI 2.2 and smarty (/showthread.php?tid=60974) |
best and safe way of sending filename in url using CI 2.2 and smarty - El Forum - 08-16-2014 [eluser]mstdmstd[/eluser] Hi, which is the best and safe way of sending filename in url using CI 2.2 and smarty ? I tried to make it like Code: < a href="admin/admin/view_source{"/application/views/Bootstrap-3-Admin-Theme/admin/header.tpl"|urlencode}" > header source< / a > but I got error Code: "Not Found" http://local-ci22.com/admin/admin/view_source/application/views/Bootstrap-3-Admin-Theme/admin/header.tpl" Code: $config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-'; |