title: Still having error in "The URI you submitted has disallowed characters." in CodeIgniter Login with Facebook
body: <p><em>I've searched all posts and I find this same error they encountered. Most comments and feedback was successfully fixed, but when I do mine, it really doesn't work :/ Help me out please:(</em></p>
  
  <p>I've already changed the <code>system/application/config/config.php</code> file from:</p>
  
  <pre><code>$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';
  </code></pre>
  
  <p>to</p>
  
  <pre><code>$config['permitted_uri_chars'] = 'a-z 0-9~%\.\:_\-';
  </code></pre>
  
  <p>and </p>
  
  <p>in this folder <code>system/libraries/URI.php</code> file from:</p>
  
  <pre><code>if ( ! preg_match("|^[".str_replace(array('\\-', '\-'), '-', preg_quote($this-&gt;config-&gt;item('permitted_uri_chars'), '-'))."]+$|i", $str))
  </code></pre>
  
  <p>to</p>
  
  <pre><code>if ( ! preg_match("|^[".($this-&gt;config-&gt;item('permitted_uri_chars'))."]+$|i", rawurlencode($str)))
  </code></pre>
  
  <p>Still the  "The URI you submitted has disallowed characters." exists.</p>