CodeIgniter Forums

Full Version: best and safe way of sending filename in url using CI 2.2 and smarty
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[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"
In my config :
Code:
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';