title: How do you allow URI encoded characters in CodeIgniter URLs?
body: <p>I am using <a href="http://www.codeigniter.com" rel="noreferrer">CodeIgniter 1.7.1</a>. My permitted URI characters are set as such:</p>
  
  <pre><code>$config['permitted_uri_chars'] = 'a-z 0-9~%.:_()@&amp;\-';
  </code></pre>
  
  <p>When I type a address like <a href="http://website.com/index.php/controller/method/test%21" rel="noreferrer">http://website.com/index.php/controller/method/test%21</a>, the page does not load and gives me the error:</p>
  
  <blockquote>
    <p>Code igniter: An Error Was EncounteredThe URI you submitted has
    disallowed characters.</p>
  </blockquote>
  
  <p>I don't understand. <code>%20</code> (space) is allowed, but <code>%21</code> (exclamation mark) is not. </p>