CodeigniterEen solide basis

Codeigniter versie 3.1.7 uitgebracht

Uitgebracht op 13-01-2018


General Changes


  • Updated Form Validation Library rule valid_email to use INTL_IDNA_VARIANT_UTS46 for non-ASCII domain names.
  • Updated Email Library to use INTL_IDNA_VARIANT_UTS46 for non-ASCII domain names.
  • Updated Loader Library method model() to log both CI_Model class loading and individual models’ initialization.
  • Updated Pagination Library to preserve previously set attributes while calling initialize().
  • Updated Cache Library to automatically add items to cache on increment(), decrement() calls for missing keys.
  • Deprecated usage of CAPTCHA Helper function create_captcha() with parameters other than $data.


Bug fixes for 3.1.7


  • Database Utilities method backup() generated incorrect INSERT statements with the ‘mysqli’ driver.
  • Database Results method field_data() returned incorrect type names.
  • URL Helper function auto_link() didn’t detect trailing slashes in URLs.
  • Query Builder method count_all_results() breaks ORDER BY clauses for subsequent queries.
  • Query Builder didn’t account for already escaped identifiers while applying database name prefixes.
  • URL Helper function auto_link() converted e-mail addresses starting with ‘www.’ to both “url” and “email” links.
  • $config['allow_get_array'] defaulted to FALSE if it didn’t exist in the config file.
  • Session Library would incorrectly fail to obtain a lock that it already has on PHP 7 with the ‘memcached’ driver.