<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">

    <title type="text">Bug Tracker</title>
    <subtitle type="text">Bug Tracker:</subtitle>
    <link rel="alternate" type="text/html" href="http://codeigniter.com/bug_tracker/" />
    <link rel="self" type="application/atom+xml" href="http://codeigniter.com/xml/atom/bug_tracker/" />
    <updated>2010-03-20T08:31:40Z</updated>
    <rights>Copyright (c) 2010, janogarcia</rights>
    <generator uri="http://expressionengine.com/" version="1.6.6">ExpressionEngine</generator>
    <id>tag:codeigniter.com,2010:03:20</id>


    <entry>
      <title>form_prep double encoding of html entities</title>
      <link rel="alternate" type="text/html" href="http://codeigniter.com/bug_tracker/bug/11889/" />
      <id>tag:codeigniter.com,2010:bug_tracker/21.11889</id>
      <published>2010-03-20T08:31:39Z</published>
      <updated>2010-03-20T08:31:40Z</updated>
      <author>
            <name>janogarcia</name>
                  </author>

      <category term="Helpers"
        scheme="http://codeigniter.com/bug_tracker/list/category/helpers/"
        label="Helpers" />
      <category term="Form Helper"
        scheme="http://codeigniter.com/bug_tracker/list/category/form_helper/"
        label="Form Helper" />
      <content type="html"><![CDATA[
        <p>SUMMARY<br />
form_prep() doesn&#8217;t escape existing html entities (for example &amp;) in a string, which leads to double encoding issues (&amp;amp;).</p>

<p>DESCRIPTION (as reported by brookerrj)<br />
&#8220;In 1.7.1 form_prep() would not try to convert html entities already existing in a string. This was good because when an html string containing html entities was stored in a DB and then retrived for editing in a form they would be protected from conversion and look correct in a form field, E.g. Bob&#39;s Name in the database is loaded into a form text field without conversion and is displayed in the form field as Bob’s Name.</p>

<p>In 1.7.2 form_prep() existing html entities are not protected and are parsed corrupting the data so that Bob&#39;s Name in the database becomes Bob&amp;#39;s Name and when loaded into a text field is displayed as Bob&#39;s Name.&#8221;
</p>      ]]></content>
    </entry>

    <entry>
      <title>Typo re: Database port configuration</title>
      <link rel="alternate" type="text/html" href="http://codeigniter.com/bug_tracker/bug/11886/" />
      <id>tag:codeigniter.com,2010:bug_tracker/21.11886</id>
      <published>2010-03-19T21:41:52Z</published>
      <updated>2010-03-19T21:41:53Z</updated>
      <author>
            <name>ejsexton82</name>
                  </author>

      <category term="User Guide"
        scheme="http://codeigniter.com/bug_tracker/list/category/user_guide/"
        label="User Guide" />
      <category term="Typos"
        scheme="http://codeigniter.com/bug_tracker/list/category/typos/"
        label="Typos" />
      <content type="html"><![CDATA[
        <p>The user guide states that the &#8220;port&#8221; database configuration parameter is currently only being used in the Postgres drive. However, I am currently using it for the MySQLi driver.
</p>      ]]></content>
    </entry>

    <entry>
      <title>Problem with cookie helper and cookie_prefix</title>
      <link rel="alternate" type="text/html" href="http://codeigniter.com/bug_tracker/bug/11865/" />
      <id>tag:codeigniter.com,2010:bug_tracker/21.11865</id>
      <published>2010-03-18T14:16:15Z</published>
      <updated>2010-03-18T14:16:16Z</updated>
      <author>
            <name>agentsmith.bgd</name>
                  </author>

      <category term="Helpers"
        scheme="http://codeigniter.com/bug_tracker/list/category/helpers/"
        label="Helpers" />
      <category term="Cookie Helper"
        scheme="http://codeigniter.com/bug_tracker/list/category/cookie_helper/"
        label="Cookie Helper" />
      <content type="html"><![CDATA[
        <p>Problem with cookie helper and cookie_prefix</p>

<p>If I have 2 cookies one with and other without prefix, exemple cookie uid and pref_uid, end U want to get one with prefix, U dont get that cookie, but the other one.</p>

<p><br />
get_cookie function returns prefix = &#8216;&#8217; if is set same cookie without prefix.</p>

<p>In FF there are 2 cookies SET<br />
uid = 1<br />
and <br />
prefix_uid = 5;</p>

<p>in config file<br />
cookie_prefix &nbsp;  = &#8220;prefix_&#8221;;</p>

<p>get_cookie(&#8216;uid&#8217;); returns 1 instead of 5
</p>      ]]></content>
    </entry>

    <entry>
      <title>Undefined property: CI_DB_postgre_driver::$_like_escape_char</title>
      <link rel="alternate" type="text/html" href="http://codeigniter.com/bug_tracker/bug/11823/" />
      <id>tag:codeigniter.com,2010:bug_tracker/21.11823</id>
      <published>2010-03-15T12:31:01Z</published>
      <updated>2010-03-15T12:31:03Z</updated>
      <author>
            <name>Haulyn Jason</name>
            <uri>http://www.haulynjason.net</uri>      </author>

      <category term="Libraries"
        scheme="http://codeigniter.com/bug_tracker/list/category/libraries/"
        label="Libraries" />
      <category term="Database Class"
        scheme="http://codeigniter.com/bug_tracker/list/category/database_class/"
        label="Database Class" />
      <content type="html"><![CDATA[
        <p>A PHP Error was encountered</p>

<p>Severity: Notice</p>

<p>Message: Undefined property: CI_DB_postgre_driver::$_like_escape_char</p>

<p>Filename: database/DB_active_rec.php</p>

<p>Line Number: 728
</p>      ]]></content>
    </entry>

    <entry>
      <title>CI2 &#45; convert_accented_characters() gives bad codes</title>
      <link rel="alternate" type="text/html" href="http://codeigniter.com/bug_tracker/bug/11805/" />
      <id>tag:codeigniter.com,2010:bug_tracker/21.11805</id>
      <published>2010-03-12T10:30:18Z</published>
      <updated>2010-03-12T10:30:19Z</updated>
      <author>
            <name>Phil Sturgeon</name>
            <uri>http://philsturgeon.co.uk/</uri>      </author>

      <category term="Helpers"
        scheme="http://codeigniter.com/bug_tracker/list/category/helpers/"
        label="Helpers" />
      <category term="Text Helper"
        scheme="http://codeigniter.com/bug_tracker/list/category/text_helper/"
        label="Text Helper" />
      <content type="html"><![CDATA[
        <p>Using the new convert_accented_characters() function in text_helper.php I am getting failed conversions of characters.</p>

<p>The following characters should be supported:<br />
&nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &#8216;232&#8217;&nbsp;   =&gt;&nbsp;   &#8220;e&#8221;,&nbsp; // è<br />
&#8216;233&#8217;&nbsp;   =&gt;&nbsp;   &#8220;e&#8221;,&nbsp; // é<br />
&#8216;234&#8217;&nbsp;   =&gt;&nbsp;   &#8220;e&#8221;,&nbsp; // ê<br />
&#8216;235&#8217;&nbsp;   =&gt;&nbsp;   &#8220;e&#8221;,&nbsp; // ë</p>

<p>The numbers on the left are the character codes. However when I try this:</p>

<p>echo convert_accented_characters(&#8217;ë&#8217;);</p>

<p>I get � returned here, so I have put a debug step into the function here:</p>

<p>return $ord = ord($match[&#8216;1&#8217;]);</p>

<p>The codes I get for these four characters are:</p>

<p>è - 168<br />
é - 169<br />
ê - 170<br />
ë - 171</p>

<p>These numbers are not in the config file at all, as it only starts from 223.</p>

<p>I am using Mac OSX, PHP 5.2.11. Charset is UTF-8 and the browser is FF 3.6.</p>

<p>Not sure if I should simply add these missing characters into the config file or what?</p>

<p>P.S ü - 188 &gt;.&lt;
</p>      ]]></content>
    </entry>

    <entry>
      <title>Security library hates HTML</title>
      <link rel="alternate" type="text/html" href="http://codeigniter.com/bug_tracker/bug/11796/" />
      <id>tag:codeigniter.com,2010:bug_tracker/21.11796</id>
      <published>2010-03-11T23:17:54Z</published>
      <updated>2010-03-11T23:17:55Z</updated>
      <author>
            <name>Phil Sturgeon</name>
            <uri>http://philsturgeon.co.uk/</uri>      </author>

      <category term="Libraries"
        scheme="http://codeigniter.com/bug_tracker/list/category/libraries/"
        label="Libraries" />
      <content type="html"><![CDATA[
        <p>When submitting HTML content through a POST form the Security helper preg matches and uses the _decode_entity() callback.</p>

<p>This gives the error:</p>

<p>Fatal error: Call to undefined function get_instance() in /Users/phil/Sites/pyrocms/codeigniter/libraries/Security.php on line 651</p>

<p>Stuck as to why, never had that before.
</p>      ]]></content>
    </entry>

    <entry>
      <title>Incorrect base bath using undefined constant</title>
      <link rel="alternate" type="text/html" href="http://codeigniter.com/bug_tracker/bug/11793/" />
      <id>tag:codeigniter.com,2010:bug_tracker/21.11793</id>
      <published>2010-03-11T20:08:24Z</published>
      <updated>2010-03-11T20:08:25Z</updated>
      <author>
            <name>Phil Sturgeon</name>
            <uri>http://philsturgeon.co.uk/</uri>      </author>

      <category term="Libraries"
        scheme="http://codeigniter.com/bug_tracker/list/category/libraries/"
        label="Libraries" />
      <content type="html"><![CDATA[
        <p>If the system folder is set incorrectly, it will try to soft error but uses the SELF constant which is actualy defined on the line below:
</p>      ]]></content>
    </entry>

    <entry>
      <title>mysql_connect suppresses error messages</title>
      <link rel="alternate" type="text/html" href="http://codeigniter.com/bug_tracker/bug/11771/" />
      <id>tag:codeigniter.com,2010:bug_tracker/21.11771</id>
      <published>2010-03-09T23:15:00Z</published>
      <updated>2010-03-09T23:15:01Z</updated>
      <author>
            <name>evil3</name>
                  </author>

      <category term="Libraries"
        scheme="http://codeigniter.com/bug_tracker/list/category/libraries/"
        label="Libraries" />
      <category term="Database Class"
        scheme="http://codeigniter.com/bug_tracker/list/category/database_class/"
        label="Database Class" />
      <content type="html"><![CDATA[
        <p>In database/drivers/mysql/mysql_driver.php, within the db_[p]connect method there is following:</p>

<p>return @mysql_connect($this-&gt;hostname, $this-&gt;username, $this-&gt;password, TRUE);</p>

<p>The use of error suppression (the @) is a big problem if MySQL is not loaded for some reason. In my case PHP was compiled without MySQL support.</p>

<p>The result is a blank page and no clue as to why. error_reporting and display_errors do not help here. It&#8217;s a huge pain to debug this.</p>

<p>I suggest either dropping the @ or adding something among the lines of:</p>

<p>if (!function_exists(&#8216;mysql_connect&#8217;))<br />
{
    trigger_error('The MySQL extension is not available. Check php.ini to enable it or recompile PHP with MySQL support.', E_USER_ERROR);<br />
}</p>

<p>Other database drivers are probably also affected.
</p>      ]]></content>
    </entry>

    <entry>
      <title>Bad previous link for /libraries/benchmarking</title>
      <link rel="alternate" type="text/html" href="http://codeigniter.com/bug_tracker/bug/11765/" />
      <id>tag:codeigniter.com,2010:bug_tracker/21.11765</id>
      <published>2010-03-09T19:33:54Z</published>
      <updated>2010-03-09T19:33:56Z</updated>
      <author>
            <name>Geoff CI Fr</name>
            <uri>http://www.expialidocious.fr</uri>      </author>

      <category term="User Guide"
        scheme="http://codeigniter.com/bug_tracker/list/category/user_guide/"
        label="User Guide" />
      <category term="Typos"
        scheme="http://codeigniter.com/bug_tracker/list/category/typos/"
        label="Typos" />
      <content type="html"><![CDATA[
        <p>In the footer of this page (libraries/benchmarking) the previous subject link is link to the &#8220;Security&#8221; page.<br />
Does not look good.
</p>      ]]></content>
    </entry>

    <entry>
      <title>Capital letter for Model and not for controllers and view /libraries/benchmarking.html</title>
      <link rel="alternate" type="text/html" href="http://codeigniter.com/bug_tracker/bug/11764/" />
      <id>tag:codeigniter.com,2010:bug_tracker/21.11764</id>
      <published>2010-03-09T19:17:21Z</published>
      <updated>2010-03-09T19:17:23Z</updated>
      <author>
            <name>Geoff CI Fr</name>
            <uri>http://www.expialidocious.fr</uri>      </author>

      <category term="User Guide"
        scheme="http://codeigniter.com/bug_tracker/list/category/user_guide/"
        label="User Guide" />
      <category term="Typos"
        scheme="http://codeigniter.com/bug_tracker/list/category/typos/"
        label="Typos" />
      <content type="html"><![CDATA[
        <p>In the file /libraries/benchmarking and the &#8220;Using the benchmark class&#8221; paragraph you use a capital letter for the word &#8220;Model&#8221; but not for &#8220;controller&#8221; or &#8220;view&#8221;.
</p>      ]]></content>
    </entry>

    <entry>
      <title>Unclosed tag  into file /libraries/typography.html (line 137)</title>
      <link rel="alternate" type="text/html" href="http://codeigniter.com/bug_tracker/bug/11762/" />
      <id>tag:codeigniter.com,2010:bug_tracker/21.11762</id>
      <published>2010-03-09T18:49:15Z</published>
      <updated>2010-03-09T18:49:16Z</updated>
      <author>
            <name>Geoff CI Fr</name>
            <uri>http://www.expialidocious.fr</uri>      </author>

      <category term="User Guide"
        scheme="http://codeigniter.com/bug_tracker/list/category/user_guide/"
        label="User Guide" />
      <category term="Typos"
        scheme="http://codeigniter.com/bug_tracker/list/category/typos/"
        label="Typos" />
      <content type="html"><![CDATA[
        <p>There is not  tag at the end of line 137 : <br />
When using the Typography library in conjunction with the Template Parser library it can often be desirable to protect single<br />
&nbsp;   and double quotes within curly braces.&nbsp; To enable this, set the &lt;kbd&gt;protect_braced_quotes&lt;/kbd&gt; class property to &lt;samp&gt;TRUE&lt;/samp&gt;.
</p>      ]]></content>
    </entry>

    <entry>
      <title>Unclosed tag  into file /libraries/typography.html</title>
      <link rel="alternate" type="text/html" href="http://codeigniter.com/bug_tracker/bug/11761/" />
      <id>tag:codeigniter.com,2010:bug_tracker/21.11761</id>
      <published>2010-03-09T18:48:11Z</published>
      <updated>2010-03-09T18:48:12Z</updated>
      <author>
            <name>Geoff CI Fr</name>
            <uri>http://www.expialidocious.fr</uri>      </author>

      <category term="User Guide"
        scheme="http://codeigniter.com/bug_tracker/list/category/user_guide/"
        label="User Guide" />
      <category term="Typos"
        scheme="http://codeigniter.com/bug_tracker/list/category/typos/"
        label="Typos" />
      <content type="html"><![CDATA[
        <p>There is not  tag at the end of this sentence (line 96) There is one optional parameters that determines whether the parser should reduce more then two consecutive line breaks down to two. Use boolean &lt;kbd&gt;TRUE&lt;/kbd&gt; or &lt;kbd&gt;FALSE&lt;/kbd&gt;.
</p>      ]]></content>
    </entry>

    <entry>
      <title>Unclosed tag  into file /libraries/loader.html</title>
      <link rel="alternate" type="text/html" href="http://codeigniter.com/bug_tracker/bug/11760/" />
      <id>tag:codeigniter.com,2010:bug_tracker/21.11760</id>
      <published>2010-03-09T18:46:43Z</published>
      <updated>2010-03-09T18:46:44Z</updated>
      <author>
            <name>Geoff CI Fr</name>
            <uri>http://www.expialidocious.fr</uri>      </author>

      <category term="User Guide"
        scheme="http://codeigniter.com/bug_tracker/list/category/user_guide/"
        label="User Guide" />
      <category term="Typos"
        scheme="http://codeigniter.com/bug_tracker/list/category/typos/"
        label="Typos" />
      <content type="html"><![CDATA[
        <p>There is not  tag at the end of this sentence line 81) Once loaded, the library will be ready for use, using &lt;kbd&gt;$this-&gt;email-&gt;&lt;/kbd&gt;&lt;samp&gt;<em>some_function</em>()&lt;/samp&gt;.
</p>      ]]></content>
    </entry>

    <entry>
      <title>Unclosed tag  into file /installation/upgrade_170.html</title>
      <link rel="alternate" type="text/html" href="http://codeigniter.com/bug_tracker/bug/11759/" />
      <id>tag:codeigniter.com,2010:bug_tracker/21.11759</id>
      <published>2010-03-09T18:45:14Z</published>
      <updated>2010-03-09T18:45:15Z</updated>
      <author>
            <name>Geoff CI Fr</name>
            <uri>http://www.expialidocious.fr</uri>      </author>

      <category term="User Guide"
        scheme="http://codeigniter.com/bug_tracker/list/category/user_guide/"
        label="User Guide" />
      <category term="Typos"
        scheme="http://codeigniter.com/bug_tracker/list/category/typos/"
        label="Typos" />
      <content type="html"><![CDATA[
        <p>There is not  tag at the end this sentence If you are using the Session class in your application, AND if you are storing session data to a database, you must add a new column named &lt;dfn&gt;user_data&lt;/dfn&gt; to your session table. <br />
Here is an example of what this column might look like for MySQL:
</p>      ]]></content>
    </entry>

    <entry>
      <title>Unclosed  tag in /database/queries.html</title>
      <link rel="alternate" type="text/html" href="http://codeigniter.com/bug_tracker/bug/11758/" />
      <id>tag:codeigniter.com,2010:bug_tracker/21.11758</id>
      <published>2010-03-09T18:41:46Z</published>
      <updated>2010-03-09T18:41:47Z</updated>
      <author>
            <name>Geoff CI Fr</name>
            <uri>http://www.expialidocious.fr</uri>      </author>

      <category term="User Guide"
        scheme="http://codeigniter.com/bug_tracker/list/category/user_guide/"
        label="User Guide" />
      <category term="Typos"
        scheme="http://codeigniter.com/bug_tracker/list/category/typos/"
        label="Typos" />
      <content type="html"><![CDATA[
        <p>I currently translating the guide in french and there&#8217;s a missging closing tag in /database/queries.html line 118 at the end of the escape_like_str() sentence.
</p>      ]]></content>
    </entry>


</feed>