forked from damiththiwanka/codeigniter-rest-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchangelog.html
4210 lines (4125 loc) · 395 KB
/
changelog.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Change Log — CodeIgniter 3.1.9 documentation</title>
<link rel="shortcut icon" href="_static/ci-icon.ico"/>
<link href='https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic|Roboto+Slab:400,700|Inconsolata:400,700&subset=latin,cyrillic' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="_static/css/citheme.css" type="text/css" />
<link rel="index" title="Index"
href="genindex.html"/>
<link rel="search" title="Search" href="search.html"/>
<link rel="top" title="CodeIgniter 3.1.9 documentation" href="index.html"/>
<link rel="next" title="The MIT License (MIT)" href="license.html"/>
<link rel="prev" title="XML Helper" href="helpers/xml_helper.html"/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js"></script>
</head>
<body class="wy-body-for-nav" role="document">
<div id="nav">
<div id="nav_inner">
<div id="pulldown-menu" class="ciNav">
<ul>
<li class="toctree-l1"><a class="reference internal" href="general/welcome.html">Welcome to CodeIgniter</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="installation/index.html">Installation Instructions</a><ul>
<li class="toctree-l2"><a class="reference internal" href="installation/downloads.html">Downloading CodeIgniter</a></li>
<li class="toctree-l2"><a class="reference internal" href="installation/index.html">Installation Instructions</a></li>
<li class="toctree-l2"><a class="reference internal" href="installation/upgrading.html">Upgrading From a Previous Version</a></li>
<li class="toctree-l2"><a class="reference internal" href="installation/troubleshooting.html">Troubleshooting</a></li>
</ul>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="overview/index.html">CodeIgniter Overview</a><ul>
<li class="toctree-l2"><a class="reference internal" href="overview/getting_started.html">Getting Started</a></li>
<li class="toctree-l2"><a class="reference internal" href="overview/at_a_glance.html">CodeIgniter at a Glance</a></li>
<li class="toctree-l2"><a class="reference internal" href="overview/features.html">Supported Features</a></li>
<li class="toctree-l2"><a class="reference internal" href="overview/appflow.html">Application Flow Chart</a></li>
<li class="toctree-l2"><a class="reference internal" href="overview/mvc.html">Model-View-Controller</a></li>
<li class="toctree-l2"><a class="reference internal" href="overview/goals.html">Architectural Goals</a></li>
</ul>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="tutorial/index.html">Tutorial</a><ul>
<li class="toctree-l2"><a class="reference internal" href="tutorial/static_pages.html">Static pages</a></li>
<li class="toctree-l2"><a class="reference internal" href="tutorial/news_section.html">News section</a></li>
<li class="toctree-l2"><a class="reference internal" href="tutorial/create_news_items.html">Create news items</a></li>
<li class="toctree-l2"><a class="reference internal" href="tutorial/conclusion.html">Conclusion</a></li>
</ul>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="contributing/index.html">Contributing to CodeIgniter</a><ul>
<li class="toctree-l2"><a class="reference internal" href="documentation/index.html">Writing CodeIgniter Documentation</a></li>
<li class="toctree-l2"><a class="reference internal" href="DCO.html">Developer’s Certificate of Origin 1.1</a></li>
</ul>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="general/index.html">General Topics</a><ul>
<li class="toctree-l2"><a class="reference internal" href="general/urls.html">CodeIgniter URLs</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/controllers.html">Controllers</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/reserved_names.html">Reserved Names</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/views.html">Views</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/models.html">Models</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/helpers.html">Helpers</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/libraries.html">Using CodeIgniter Libraries</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/creating_libraries.html">Creating Libraries</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/drivers.html">Using CodeIgniter Drivers</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/creating_drivers.html">Creating Drivers</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/core_classes.html">Creating Core System Classes</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/ancillary_classes.html">Creating Ancillary Classes</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/hooks.html">Hooks - Extending the Framework Core</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/autoloader.html">Auto-loading Resources</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/common_functions.html">Common Functions</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/compatibility_functions.html">Compatibility Functions</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/routing.html">URI Routing</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/errors.html">Error Handling</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/caching.html">Caching</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/profiling.html">Profiling Your Application</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/cli.html">Running via the CLI</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/managing_apps.html">Managing your Applications</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/environments.html">Handling Multiple Environments</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/alternative_php.html">Alternate PHP Syntax for View Files</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/security.html">Security</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/styleguide.html">PHP Style Guide</a></li>
</ul>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="libraries/index.html">Libraries</a><ul>
<li class="toctree-l2"><a class="reference internal" href="libraries/benchmark.html">Benchmarking Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/caching.html">Caching Driver</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/calendar.html">Calendaring Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/cart.html">Shopping Cart Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/config.html">Config Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/email.html">Email Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/encrypt.html">Encrypt Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/encryption.html">Encryption Library</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/file_uploading.html">File Uploading Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/form_validation.html">Form Validation</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/ftp.html">FTP Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/image_lib.html">Image Manipulation Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/input.html">Input Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/javascript.html">Javascript Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/language.html">Language Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/loader.html">Loader Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/migration.html">Migrations Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/output.html">Output Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/pagination.html">Pagination Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/parser.html">Template Parser Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/security.html">Security Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/sessions.html">Session Library</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/table.html">HTML Table Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/trackback.html">Trackback Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/typography.html">Typography Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/unit_testing.html">Unit Testing Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/uri.html">URI Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/user_agent.html">User Agent Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/xmlrpc.html">XML-RPC and XML-RPC Server Classes</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/zip.html">Zip Encoding Class</a></li>
</ul>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="database/index.html">Database Reference</a><ul>
<li class="toctree-l2"><a class="reference internal" href="database/examples.html">Quick Start: Usage Examples</a></li>
<li class="toctree-l2"><a class="reference internal" href="database/configuration.html">Database Configuration</a></li>
<li class="toctree-l2"><a class="reference internal" href="database/connecting.html">Connecting to a Database</a></li>
<li class="toctree-l2"><a class="reference internal" href="database/queries.html">Running Queries</a></li>
<li class="toctree-l2"><a class="reference internal" href="database/results.html">Generating Query Results</a></li>
<li class="toctree-l2"><a class="reference internal" href="database/helpers.html">Query Helper Functions</a></li>
<li class="toctree-l2"><a class="reference internal" href="database/query_builder.html">Query Builder Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="database/transactions.html">Transactions</a></li>
<li class="toctree-l2"><a class="reference internal" href="database/metadata.html">Getting MetaData</a></li>
<li class="toctree-l2"><a class="reference internal" href="database/call_function.html">Custom Function Calls</a></li>
<li class="toctree-l2"><a class="reference internal" href="database/caching.html">Query Caching</a></li>
<li class="toctree-l2"><a class="reference internal" href="database/forge.html">Database Manipulation with Database Forge</a></li>
<li class="toctree-l2"><a class="reference internal" href="database/utilities.html">Database Utilities Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="database/db_driver_reference.html">Database Driver Reference</a></li>
</ul>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="helpers/index.html">Helpers</a><ul>
<li class="toctree-l2"><a class="reference internal" href="helpers/array_helper.html">Array Helper</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers/captcha_helper.html">CAPTCHA Helper</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers/cookie_helper.html">Cookie Helper</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers/date_helper.html">Date Helper</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers/directory_helper.html">Directory Helper</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers/download_helper.html">Download Helper</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers/email_helper.html">Email Helper</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers/file_helper.html">File Helper</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers/form_helper.html">Form Helper</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers/html_helper.html">HTML Helper</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers/inflector_helper.html">Inflector Helper</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers/language_helper.html">Language Helper</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers/number_helper.html">Number Helper</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers/path_helper.html">Path Helper</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers/security_helper.html">Security Helper</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers/smiley_helper.html">Smiley Helper</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers/string_helper.html">String Helper</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers/text_helper.html">Text Helper</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers/typography_helper.html">Typography Helper</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers/url_helper.html">URL Helper</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers/xml_helper.html">XML Helper</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
<div id="nav2">
<a href="#" id="openToc">
<img src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAARgAA/+4ADkFkb2JlAGTAAAAAAf/bAIQABAMDAwMDBAMDBAYEAwQGBwUEBAUHCAYGBwYGCAoICQkJCQgKCgwMDAwMCgwMDQ0MDBERERERFBQUFBQUFBQUFAEEBQUIBwgPCgoPFA4ODhQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQU/8AAEQgAKwCaAwERAAIRAQMRAf/EAHsAAQAABwEBAAAAAAAAAAAAAAABAwQFBgcIAgkBAQAAAAAAAAAAAAAAAAAAAAAQAAEDAwICBwYEAgsAAAAAAAIBAwQAEQUSBiEHkROTVNQWGDFBUVIUCHEiMtOUFWGBobHRQlMkZIRVEQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIRAxEAPwDSC+ygkOOaUoKigUCgUCgUCgUCgUCgUCgUCgkuGguIP9FBMFb0Hqg7We+3jlmIqqYFf4ub+/QYlnOR/LqIBKGFUbf8qWv971BytQXXE7Y3Lnm3HsFhp2TaZJAdchRXpIgSpdEJWxJEW3xoKV7F5OMy7JkQn2o7D6w33XGjEAkoiqrJEqIiOIiKuhePCgqp22dyYyS3CyWHnQ5joG61HkRnmnTbaFSMhExRVQRRVJU9iUHjE7ez+fJ0MFipmUNhBV8YUd2SoIV9KkjQla9ltegttBdPLW4/qocL+UTfrMiHW4+P9M71shuyrqaHTcxsl7jegpsji8nh5ZwMvDfgTm0RTjSmjYdFCS6KoOIipdFunCgmNYTMv457MMY6U7iI6oMieDDhRm1VbIhuoOkbqtuK0Hpzb+eZcYZexUxt6UyUqK2cd0SdjtgrhOgijcgERUlJOCIl6CpgbP3blRI8XgMjNARAyKNDfeRBdFDBVUAXgQrqH4pxoJTu2NysY97LP4ac1io5q1InHFeGO24LnVKJuKOkSQ/yKir+rh7aCLG1dzypZQI2FnvTgccYOM3FeN0XWERXAUEFVQgQkUktdLpegm+Td3/Xli/L+S/mYNJIOF9G/wBeLKrZHFb0akG6W1WtQWSg3Dyg5e7V3fipE3O4/wCrktyzYA+ufas2LbZIlmnAT2kvuoN1wft95augilglX/tzP3qCu9O3LL/wV/i5v79BvmTADq14UGu91467Z6U9y0HzH/ncj/U/sT/CgynZG7I2NezpZGUjIycJkYkZSG+uQ81pbBNKLxJfjwoMqZ3/ALYHl35AJ7/cuwHcu5k7r1Q5pHetBjquqVVJWGxj9Zrtcl/Ggy3dHMvauR3HFZj5nHNxSyW5JISYDMoIwx8tFIGHZhPNaykGapr6rUAiicEoMG21lMRj8buPAz8xhJrr7uOeiPTCyAwXUaGR1mgozbTusOsFLEiJ7fbQa/h7gcjy2H3V6xppwDNtUSxCJIqp7valBuWVzJ22xuCROXNNZiJkMtms0DbjUkAZjzoDrTMd9dDRI44ZC2YsrYdKWP2WDT2S3N9dNdlRYrGMYc06IURXSYb0igrpWS485xVNS6nF4rwslkoMwnbpgZLB7bmt5uMweAhDEl4B5uSLzzqTnnyVpW2jaJHRMSIjdDiiotvy3DOE5rYTEbkl5yFn28k7JyG4c7AU2HtLH1uKfaiMPI40CdYbpNtmLdwTSn5rewLNld+7TLdeal4WarWBkbVKBjgdElMJJwAAY5fl4kB3b1fp4XvagsGS3FjJfLzDNtS8aeXx7LzT7TyzByQE5PccRGRC0ZRUDRV6y62vbjagzLmJzS2vuPK43JY6aP1TW6Jz+RIWyFtyC06y3EkiiinAo7YCqfq1AqqnGgsOH3lhZO8d1pmcpB8j5XIm9OYlBJSQ/FSS4427DKO0RC8AlcEMhFdViRR1WDWR5t3WXVuL1d106kG9vdeye2g60+1FDyW0shIcXVpyroXt8I8dfd+NB1vioAdWnD3UF1+gD4UFc6CEKpagxXN43rwJLUHz7yX2c8zokt9uHlsPIhA4aRnnHJTLptIS6CNsY7iASpxUUMkReGpfbQW0vtN5pitvrsN28rwtBD0nc0+/Yft5XhaB6TuaXfsP28rwtA9J3NPv2H7eV4Wgek7mn37D9vK8LQPSdzT79h+3leFoHpO5pd+w/byvC0D0nc0u/Yft5XhaB6TuaXfsP28rwtA9J3NLv2H7eV4Wgek7ml37D9vK8LQPSdzS79h+3leFoHpO5p9+w/byvC0E9r7Reazy2HIYVPxkS/CUHVn26cosxyv2g7h89LYmZSXOenvLEQ1YaQ222RATcQCP8rSGqqA8S02W2pQ6FhMoAIlqCtsnwoCpdKClejI4i3Sgtb+GBxVuNBSFt1pV/RQefLjPyUDy4z8lA8uM/JQPLjPyUDy4z8lA8uM/JQPLjPyUDy4z8lA8uM/JQPLjPyUDy4z8lA8utJ/koJ7WCbBU/LQXOPAFq1koK8B0pag90CggtBBf6qB0UDooHRQOigdFA6KB0UDooHRQOigdFA6KB0UDooI0EaBQf//Z" title="Toggle Table of Contents" alt="Toggle Table of Contents" />
</a>
</div>
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-nav-search">
<a href="index.html" class="fa fa-home"> CodeIgniter</a>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div>
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
<ul>
<li class="toctree-l1"><a class="reference internal" href="general/welcome.html">Welcome to CodeIgniter</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="installation/index.html">Installation Instructions</a><ul>
<li class="toctree-l2"><a class="reference internal" href="installation/downloads.html">Downloading CodeIgniter</a></li>
<li class="toctree-l2"><a class="reference internal" href="installation/index.html">Installation Instructions</a></li>
<li class="toctree-l2"><a class="reference internal" href="installation/upgrading.html">Upgrading From a Previous Version</a></li>
<li class="toctree-l2"><a class="reference internal" href="installation/troubleshooting.html">Troubleshooting</a></li>
</ul>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="overview/index.html">CodeIgniter Overview</a><ul>
<li class="toctree-l2"><a class="reference internal" href="overview/getting_started.html">Getting Started</a></li>
<li class="toctree-l2"><a class="reference internal" href="overview/at_a_glance.html">CodeIgniter at a Glance</a></li>
<li class="toctree-l2"><a class="reference internal" href="overview/features.html">Supported Features</a></li>
<li class="toctree-l2"><a class="reference internal" href="overview/appflow.html">Application Flow Chart</a></li>
<li class="toctree-l2"><a class="reference internal" href="overview/mvc.html">Model-View-Controller</a></li>
<li class="toctree-l2"><a class="reference internal" href="overview/goals.html">Architectural Goals</a></li>
</ul>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="tutorial/index.html">Tutorial</a><ul>
<li class="toctree-l2"><a class="reference internal" href="tutorial/static_pages.html">Static pages</a></li>
<li class="toctree-l2"><a class="reference internal" href="tutorial/news_section.html">News section</a></li>
<li class="toctree-l2"><a class="reference internal" href="tutorial/create_news_items.html">Create news items</a></li>
<li class="toctree-l2"><a class="reference internal" href="tutorial/conclusion.html">Conclusion</a></li>
</ul>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="contributing/index.html">Contributing to CodeIgniter</a><ul>
<li class="toctree-l2"><a class="reference internal" href="documentation/index.html">Writing CodeIgniter Documentation</a></li>
<li class="toctree-l2"><a class="reference internal" href="DCO.html">Developer’s Certificate of Origin 1.1</a></li>
</ul>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="general/index.html">General Topics</a><ul>
<li class="toctree-l2"><a class="reference internal" href="general/urls.html">CodeIgniter URLs</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/controllers.html">Controllers</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/reserved_names.html">Reserved Names</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/views.html">Views</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/models.html">Models</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/helpers.html">Helpers</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/libraries.html">Using CodeIgniter Libraries</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/creating_libraries.html">Creating Libraries</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/drivers.html">Using CodeIgniter Drivers</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/creating_drivers.html">Creating Drivers</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/core_classes.html">Creating Core System Classes</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/ancillary_classes.html">Creating Ancillary Classes</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/hooks.html">Hooks - Extending the Framework Core</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/autoloader.html">Auto-loading Resources</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/common_functions.html">Common Functions</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/compatibility_functions.html">Compatibility Functions</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/routing.html">URI Routing</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/errors.html">Error Handling</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/caching.html">Caching</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/profiling.html">Profiling Your Application</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/cli.html">Running via the CLI</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/managing_apps.html">Managing your Applications</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/environments.html">Handling Multiple Environments</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/alternative_php.html">Alternate PHP Syntax for View Files</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/security.html">Security</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/styleguide.html">PHP Style Guide</a></li>
</ul>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="libraries/index.html">Libraries</a><ul>
<li class="toctree-l2"><a class="reference internal" href="libraries/benchmark.html">Benchmarking Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/caching.html">Caching Driver</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/calendar.html">Calendaring Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/cart.html">Shopping Cart Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/config.html">Config Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/email.html">Email Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/encrypt.html">Encrypt Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/encryption.html">Encryption Library</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/file_uploading.html">File Uploading Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/form_validation.html">Form Validation</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/ftp.html">FTP Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/image_lib.html">Image Manipulation Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/input.html">Input Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/javascript.html">Javascript Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/language.html">Language Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/loader.html">Loader Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/migration.html">Migrations Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/output.html">Output Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/pagination.html">Pagination Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/parser.html">Template Parser Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/security.html">Security Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/sessions.html">Session Library</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/table.html">HTML Table Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/trackback.html">Trackback Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/typography.html">Typography Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/unit_testing.html">Unit Testing Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/uri.html">URI Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/user_agent.html">User Agent Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/xmlrpc.html">XML-RPC and XML-RPC Server Classes</a></li>
<li class="toctree-l2"><a class="reference internal" href="libraries/zip.html">Zip Encoding Class</a></li>
</ul>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="database/index.html">Database Reference</a><ul>
<li class="toctree-l2"><a class="reference internal" href="database/examples.html">Quick Start: Usage Examples</a></li>
<li class="toctree-l2"><a class="reference internal" href="database/configuration.html">Database Configuration</a></li>
<li class="toctree-l2"><a class="reference internal" href="database/connecting.html">Connecting to a Database</a></li>
<li class="toctree-l2"><a class="reference internal" href="database/queries.html">Running Queries</a></li>
<li class="toctree-l2"><a class="reference internal" href="database/results.html">Generating Query Results</a></li>
<li class="toctree-l2"><a class="reference internal" href="database/helpers.html">Query Helper Functions</a></li>
<li class="toctree-l2"><a class="reference internal" href="database/query_builder.html">Query Builder Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="database/transactions.html">Transactions</a></li>
<li class="toctree-l2"><a class="reference internal" href="database/metadata.html">Getting MetaData</a></li>
<li class="toctree-l2"><a class="reference internal" href="database/call_function.html">Custom Function Calls</a></li>
<li class="toctree-l2"><a class="reference internal" href="database/caching.html">Query Caching</a></li>
<li class="toctree-l2"><a class="reference internal" href="database/forge.html">Database Manipulation with Database Forge</a></li>
<li class="toctree-l2"><a class="reference internal" href="database/utilities.html">Database Utilities Class</a></li>
<li class="toctree-l2"><a class="reference internal" href="database/db_driver_reference.html">Database Driver Reference</a></li>
</ul>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="helpers/index.html">Helpers</a><ul>
<li class="toctree-l2"><a class="reference internal" href="helpers/array_helper.html">Array Helper</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers/captcha_helper.html">CAPTCHA Helper</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers/cookie_helper.html">Cookie Helper</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers/date_helper.html">Date Helper</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers/directory_helper.html">Directory Helper</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers/download_helper.html">Download Helper</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers/email_helper.html">Email Helper</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers/file_helper.html">File Helper</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers/form_helper.html">Form Helper</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers/html_helper.html">HTML Helper</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers/inflector_helper.html">Inflector Helper</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers/language_helper.html">Language Helper</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers/number_helper.html">Number Helper</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers/path_helper.html">Path Helper</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers/security_helper.html">Security Helper</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers/smiley_helper.html">Smiley Helper</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers/string_helper.html">String Helper</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers/text_helper.html">Text Helper</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers/typography_helper.html">Typography Helper</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers/url_helper.html">URL Helper</a></li>
<li class="toctree-l2"><a class="reference internal" href="helpers/xml_helper.html">XML Helper</a></li>
</ul>
</li>
</ul>
</div>
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" role="navigation" aria-label="top navigation">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="index.html">CodeIgniter</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs">
<li><a href="index.html">Docs</a> »</li>
<li>Change Log</li>
<li class="wy-breadcrumbs-aside">
</li>
<div style="float:right;margin-left:5px;" id="closeMe">
<img title="Classic Layout" alt="classic layout" src="data:image/gif;base64,R0lGODlhFAAUAJEAAAAAADMzM////wAAACH5BAUUAAIALAAAAAAUABQAAAImlI+py+0PU5gRBRDM3DxbWoXis42X13USOLauUIqnlsaH/eY6UwAAOw==" />
</div>
</ul>
<hr/>
</div>
<div role="main" class="document">
<div class="section" id="change-log">
<h1>Change Log<a class="headerlink" href="#change-log" title="Permalink to this headline">¶</a></h1>
<div class="section" id="version-3-1-9">
<h2>Version 3.1.9<a class="headerlink" href="#version-3-1-9" title="Permalink to this headline">¶</a></h2>
<p>Release Date: Jun 12, 2018</p>
<ul>
<li><p class="first"><strong>Security</strong></p>
<blockquote>
<div><ul class="simple">
<li>Updated <a class="reference internal" href="helpers/url_helper.html"><span class="doc">URL Helper</span></a> function <a class="reference internal" href="helpers/url_helper.html#auto_link" title="auto_link"><code class="xref php php-func docutils literal"><span class="pre">auto_link()</span></code></a> to add <code class="docutils literal"><span class="pre">rel="noopener"</span></code> to generated links in order to prevent tab hijacking.</li>
<li>Fixed a possible session fixation vulnerability where the <a class="reference internal" href="libraries/sessions.html"><span class="doc">Session Library</span></a> enabled <code class="docutils literal"><span class="pre">session.use_strict_mode</span></code> but it didn’t actually do anything (thanks to Aamer Shah, Prasanna Kumar).</li>
</ul>
</div></blockquote>
</li>
<li><p class="first">General Changes</p>
<ul class="simple">
<li>Updated <a class="reference internal" href="database/query_builder.html"><span class="doc">Query Builder</span></a> method <code class="docutils literal"><span class="pre">limit()</span></code> to allow <code class="docutils literal"><span class="pre">0</span></code> values.</li>
<li>Updated <a class="reference internal" href="libraries/email.html"><span class="doc">Email Library</span></a> and <a class="reference internal" href="libraries/form_validation.html"><span class="doc">Form Validation Library</span></a> to discard the results of failed <code class="docutils literal"><span class="pre">idn_to_ascii()</span></code> calls while validating e-mail addresses.</li>
</ul>
</li>
</ul>
<div class="section" id="bug-fixes-for-3-1-9">
<h3>Bug fixes for 3.1.9<a class="headerlink" href="#bug-fixes-for-3-1-9" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Fixed a regression (#5448) - <a class="reference internal" href="database/query_builder.html"><span class="doc">Query Builder</span></a> methods <code class="docutils literal"><span class="pre">like()</span></code>, <code class="docutils literal"><span class="pre">or_like()</span></code> (and siblings) didn’t apply <em>dbprefix</em> or identifier escaping.</li>
<li>Fixed a regression (#5462) - <a class="reference internal" href="database/query_builder.html"><span class="doc">Query Builder</span></a> methods <code class="docutils literal"><span class="pre">like()</span></code>, <code class="docutils literal"><span class="pre">or_like()</span></code> (and siblings) produced incorrect SQL syntax when used with <code class="docutils literal"><span class="pre">'before'</span></code> as the third parameter.</li>
<li>Fixed a bug (#5516) - <a class="reference internal" href="helpers/html_helper.html"><span class="doc">HTML Helper</span></a> functions <a class="reference internal" href="helpers/html_helper.html#img" title="img"><code class="xref php php-func docutils literal"><span class="pre">img()</span></code></a>, <a class="reference internal" href="helpers/html_helper.html#link_tag" title="link_tag"><code class="xref php php-func docutils literal"><span class="pre">link_tag()</span></code></a> would output results with double slashes if a prefix slash was included in their path inputs.</li>
</ul>
</div>
</div>
<div class="section" id="version-3-1-8">
<h2>Version 3.1.8<a class="headerlink" href="#version-3-1-8" title="Permalink to this headline">¶</a></h2>
<p>Release Date: Mar 22, 2018</p>
<ul>
<li><p class="first"><strong>Security</strong></p>
<blockquote>
<div><ul class="simple">
<li>Updated <a class="reference internal" href="libraries/security.html"><span class="doc">Security Library</span></a> method <code class="docutils literal"><span class="pre">xss_clean()</span></code> to also filter JavaScript tag functions.</li>
<li>Fixed a bug where <a class="reference internal" href="libraries/security.html"><span class="doc">Security Library</span></a> method <code class="docutils literal"><span class="pre">xss_clean()</span></code> didn’t check for parentheses around JavaScript’s <code class="docutils literal"><span class="pre">document</span></code>.</li>
</ul>
</div></blockquote>
</li>
<li><p class="first">General Changes</p>
<ul class="simple">
<li>Updated <a class="reference internal" href="libraries/email.html"><span class="doc">Email Library</span></a> to always negotiate between TLS 1.0, 1.1, 1.2 when possible (PHP 5.6+) for SMTP connections.</li>
<li>Updated <a class="reference internal" href="database/index.html"><span class="doc">Database Library</span></a> method <code class="docutils literal"><span class="pre">version()</span></code> to exclude suffixes to the main version numbers with the ‘postgre’ driver.</li>
</ul>
</li>
</ul>
<div class="section" id="bug-fixes-for-3-1-8">
<h3>Bug fixes for 3.1.8<a class="headerlink" href="#bug-fixes-for-3-1-8" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Fixed a bug where <a class="reference internal" href="libraries/form_validation.html"><span class="doc">Form Validation Library</span></a>, <a class="reference internal" href="libraries/email.html"><span class="doc">Email Library</span></a> tried to use <code class="docutils literal"><span class="pre">INTL_IDNA_VARIANT_UTS46</span></code> when it was undeclared.</li>
<li>Fixed a bug where <a class="reference internal" href="database/query_builder.html"><span class="doc">Query Builder</span></a> methods <code class="docutils literal"><span class="pre">where()</span></code>, <code class="docutils literal"><span class="pre">having()</span></code> treated values passed to them as arbitrary SQL.</li>
<li>Fixed a bug (#5423) - <a class="reference internal" href="database/index.html"><span class="doc">Database Library</span></a> method <code class="docutils literal"><span class="pre">insert_id()</span></code> failed due to incorrect server version parsing with the ‘postgre’ driver.</li>
<li>Fixed a bug (#5425) - <a class="reference internal" href="libraries/xmlrpc.html"><span class="doc">XML-RPC Library</span></a> produced an error message related to <code class="docutils literal"><span class="pre">count()</span></code> on PHP 7.2.</li>
<li>Fixed a bug (#5434) - <a class="reference internal" href="libraries/image_lib.html"><span class="doc">Image Manipulation Library</span></a> attempted to <code class="docutils literal"><span class="pre">chmod()</span></code> while rendering images with the <code class="docutils literal"><span class="pre">dynamic_output</span></code> option.</li>
<li>Fixed a bug (#5435) - <a class="reference internal" href="database/results.html"><span class="doc">Database Results</span></a> method <code class="docutils literal"><span class="pre">field_data()</span></code> hid info about one field if <code class="docutils literal"><span class="pre">limit()</span></code> was previously used with the ‘oci8’ driver.</li>
</ul>
</div>
</div>
<div class="section" id="version-3-1-7">
<h2>Version 3.1.7<a class="headerlink" href="#version-3-1-7" title="Permalink to this headline">¶</a></h2>
<p>Release Date: Jan 13, 2018</p>
<ul class="simple">
<li>General Changes<ul>
<li>Updated <a class="reference internal" href="libraries/form_validation.html"><span class="doc">Form Validation Library</span></a> rule <code class="docutils literal"><span class="pre">valid_email</span></code> to use <code class="docutils literal"><span class="pre">INTL_IDNA_VARIANT_UTS46</span></code> for non-ASCII domain names.</li>
<li>Updated <a class="reference internal" href="libraries/email.html"><span class="doc">Email Library</span></a> to use <code class="docutils literal"><span class="pre">INTL_IDNA_VARIANT_UTS46</span></code> for non-ASCII domain names.</li>
<li>Updated <a class="reference internal" href="libraries/loader.html"><span class="doc">Loader Library</span></a> method <code class="docutils literal"><span class="pre">model()</span></code> to log both <code class="docutils literal"><span class="pre">CI_Model</span></code> class loading and individual models’ initialization.</li>
<li>Updated <a class="reference internal" href="libraries/pagination.html"><span class="doc">Pagination Library</span></a> to preserve previously set attributes while calling <code class="docutils literal"><span class="pre">initialize()</span></code>.</li>
<li>Updated <a class="reference internal" href="libraries/caching.html"><span class="doc">Cache Library</span></a> to automatically add items to cache on <code class="docutils literal"><span class="pre">increment()</span></code>, <code class="docutils literal"><span class="pre">decrement()</span></code> calls for missing keys.</li>
<li>Deprecated usage of <a class="reference internal" href="helpers/captcha_helper.html"><span class="doc">CAPTCHA Helper</span></a> function <a class="reference internal" href="helpers/captcha_helper.html#create_captcha" title="create_captcha"><code class="xref php php-func docutils literal"><span class="pre">create_captcha()</span></code></a> with parameters other than <code class="docutils literal"><span class="pre">$data</span></code>.</li>
</ul>
</li>
</ul>
<div class="section" id="bug-fixes-for-3-1-7">
<h3>Bug fixes for 3.1.7<a class="headerlink" href="#bug-fixes-for-3-1-7" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Fixed a regression (#5276) - <a class="reference internal" href="database/utilities.html"><span class="doc">Database Utilities</span></a> method <code class="docutils literal"><span class="pre">backup()</span></code> generated incorrect <code class="docutils literal"><span class="pre">INSERT</span></code> statements with the ‘mysqli’ driver.</li>
<li>Fixed a regression where <a class="reference internal" href="database/results.html"><span class="doc">Database Results</span></a> method <code class="docutils literal"><span class="pre">field_data()</span></code> returned incorrect type names.</li>
<li>Fixed a bug (#5278) - <a class="reference internal" href="helpers/url_helper.html"><span class="doc">URL Helper</span></a> function <a class="reference internal" href="helpers/url_helper.html#auto_link" title="auto_link"><code class="xref php php-func docutils literal"><span class="pre">auto_link()</span></code></a> didn’t detect trailing slashes in URLs.</li>
<li>Fixed a regression (#5282) - <a class="reference internal" href="database/query_builder.html"><span class="doc">Query Builder</span></a> method <code class="docutils literal"><span class="pre">count_all_results()</span></code> breaks <code class="docutils literal"><span class="pre">ORDER</span> <span class="pre">BY</span></code> clauses for subsequent queries.</li>
<li>Fixed a bug (#5279) - <a class="reference internal" href="database/query_builder.html"><span class="doc">Query Builder</span></a> didn’t account for already escaped identifiers while applying database name prefixes.</li>
<li>Fixed a bug (#5331) - <a class="reference internal" href="helpers/url_helper.html"><span class="doc">URL Helper</span></a> function <a class="reference internal" href="helpers/url_helper.html#auto_link" title="auto_link"><code class="xref php php-func docutils literal"><span class="pre">auto_link()</span></code></a> converted e-mail addresses starting with ‘www.’ to both “url” and “email” links.</li>
<li>Fixed a bug where <code class="docutils literal"><span class="pre">$config['allow_get_array']</span></code> defaulted to <code class="docutils literal"><span class="pre">FALSE</span></code> if it didn’t exist in the config file.</li>
<li>Fixed a bug (#5379) - <a class="reference internal" href="libraries/sessions.html"><span class="doc">Session Library</span></a> would incorrectly fail to obtain a lock that it already has on PHP 7 with the ‘memcached’ driver.</li>
</ul>
</div>
</div>
<div class="section" id="version-3-1-6">
<h2>Version 3.1.6<a class="headerlink" href="#version-3-1-6" title="Permalink to this headline">¶</a></h2>
<p>Release Date: Sep 25, 2017</p>
<ul class="simple">
<li><strong>Security</strong><ul>
<li>Fixed a potential object injection in <a class="reference internal" href="libraries/caching.html"><span class="doc">Cache Library</span></a> ‘apc’ driver when <code class="docutils literal"><span class="pre">save()</span></code> is used with <code class="docutils literal"><span class="pre">$raw</span> <span class="pre">=</span> <span class="pre">TRUE</span></code> (thanks to Tomas Bortoli).</li>
</ul>
</li>
<li>General Changes<ul>
<li>Deprecated <a class="reference internal" href="libraries/caching.html"><span class="doc">Cache Library Library</span></a> driver ‘apc’.</li>
<li>Updated the <a class="reference internal" href="libraries/sessions.html"><span class="doc">Session Library</span></a> ‘redis’, ‘memcached’ drivers to reduce the potential of a locking race conditions.</li>
</ul>
</li>
</ul>
<div class="section" id="bug-fixes-for-3-1-6">
<h3>Bug fixes for 3.1.6<a class="headerlink" href="#bug-fixes-for-3-1-6" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Fixed a bug (#5164) - <a class="reference internal" href="libraries/loader.html"><span class="doc">Loader Library</span></a> method <code class="docutils literal"><span class="pre">library()</span></code> ignored requests to load libraries previously assigned to super-object properties named differently than the library name.</li>
<li>Fixed a bug (#5168) - <a class="reference internal" href="database/query_builder.html"><span class="doc">Query Builder</span></a> method <code class="docutils literal"><span class="pre">count_all_results()</span></code> produced erroneous queries on Microsoft SQL Server when <code class="docutils literal"><span class="pre">ORDER</span> <span class="pre">BY</span></code> clauses are cached.</li>
<li>Fixed a bug (#5128) - <a class="reference internal" href="general/profiling.html"><span class="doc">Profiler</span></a> didn’t wrap <code class="docutils literal"><span class="pre">$_SESSION</span></code> and configuration arrays in <code class="docutils literal"><span class="pre"><pre></span></code> tags.</li>
<li>Fixed a bug (#5183) - <a class="reference internal" href="database/index.html"><span class="doc">Database Library</span></a> method <code class="docutils literal"><span class="pre">is_write_type()</span></code> didn’t return TRUE for <code class="docutils literal"><span class="pre">MERGE</span></code> statements.</li>
<li>Fixed a bug where <a class="reference internal" href="libraries/image_lib.html"><span class="doc">Image Manipulation Library</span></a> didn’t escape image source paths passed to NetPBM as shell arguments.</li>
<li>Fixed a bug (#5236) - <a class="reference internal" href="database/query_builder.html"><span class="doc">Query Builder</span></a> methods <code class="docutils literal"><span class="pre">limit()</span></code>, <code class="docutils literal"><span class="pre">offset()</span></code> break SQL Server 2005, 2008 queries with <code class="docutils literal"><span class="pre">"<tablename>".*</span></code> in the <code class="docutils literal"><span class="pre">SELECT</span></code> clause.</li>
<li>Fixed a bug (#5243) - <a class="reference internal" href="database/index.html"><span class="doc">Database Library</span></a> method <code class="docutils literal"><span class="pre">version()</span></code> didn’t work with the ‘pdo/dblib’ driver.</li>
<li>Fixed a bug (#5246) - <a class="reference internal" href="database/transactions.html"><span class="doc">Database transactions</span></a> status wasn’t reset unless <code class="docutils literal"><span class="pre">trans_complete()</span></code> was called.</li>
<li>Fixed a bug (#5260) - <a class="reference internal" href="database/utilities.html"><span class="doc">Database Utilities</span></a> method <code class="docutils literal"><span class="pre">backup()</span></code> generated incorrect <code class="docutils literal"><span class="pre">INSERT</span></code> statements with the ‘mysqli’ driver.</li>
<li>Fixed a bug where <a class="reference internal" href="database/results.html"><span class="doc">Database Results</span></a> method <code class="docutils literal"><span class="pre">field_data()</span></code> didn’t parse field types with the ‘mysqli’ driver.</li>
</ul>
</div>
</div>
<div class="section" id="version-3-1-5">
<h2>Version 3.1.5<a class="headerlink" href="#version-3-1-5" title="Permalink to this headline">¶</a></h2>
<p>Release Date: Jun 19, 2017</p>
<ul class="simple">
<li><strong>Security</strong><ul>
<li><a class="reference internal" href="libraries/form_validation.html"><span class="doc">Form Validation Library</span></a> rule <code class="docutils literal"><span class="pre">valid_email</span></code> could be bypassed if <code class="docutils literal"><span class="pre">idn_to_ascii()</span></code> is available.</li>
</ul>
</li>
<li>General Changes<ul>
<li>Updated <a class="reference internal" href="helpers/form_helper.html"><span class="doc">Form Helper</span></a> function <a class="reference internal" href="helpers/form_helper.html#form_label" title="form_label"><code class="xref php php-func docutils literal"><span class="pre">form_label()</span></code></a> to accept HTML attributes as a string.</li>
</ul>
</li>
</ul>
<div class="section" id="bug-fixes-for-3-1-5">
<h3>Bug fixes for 3.1.5<a class="headerlink" href="#bug-fixes-for-3-1-5" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Fixed a bug (#5070) - <a class="reference internal" href="libraries/email.html"><span class="doc">Email Library</span></a> didn’t properly detect 7-bit encoding.</li>
<li>Fixed a bug (#5084) - <a class="reference internal" href="libraries/xmlrpc.html"><span class="doc">XML-RPC Library</span></a> errored because of a variable name typo.</li>
<li>Fixed a bug (#5108) - <a class="reference internal" href="helpers/inflector_helper.html"><span class="doc">Inflector Helper</span></a> function <a class="reference internal" href="helpers/inflector_helper.html#singular" title="singular"><code class="xref php php-func docutils literal"><span class="pre">singular()</span></code></a> didn’t properly handle ‘quizzes’.</li>
<li>Fixed a regression (#5131) - private controller methods triggered PHP errors instead of a 404 response.</li>
<li>Fixed a bug (#5150) - <a class="reference internal" href="database/forge.html"><span class="doc">Database Forge</span></a> method <code class="docutils literal"><span class="pre">modify_column()</span></code> triggered an error while renaming columns with the ‘oci8’, ‘pdo/oci’ drivers.</li>
<li>Fixed a bug (#5155) - <a class="reference internal" href="database/query_builder.html"><span class="doc">Query Builder</span></a> method <code class="docutils literal"><span class="pre">count_all_results()</span></code> returned incorrect result for queries using <code class="docutils literal"><span class="pre">LIMIT</span></code>, <code class="docutils literal"><span class="pre">OFFSET</span></code>.</li>
</ul>
</div>
</div>
<div class="section" id="version-3-1-4">
<h2>Version 3.1.4<a class="headerlink" href="#version-3-1-4" title="Permalink to this headline">¶</a></h2>
<p>Release Date: Mar 20, 2017</p>
<ul class="simple">
<li><strong>Security</strong><ul>
<li>Fixed a header injection vulnerability in <a class="reference internal" href="general/common_functions.html"><span class="doc">common function</span></a> <a class="reference internal" href="general/common_functions.html#set_status_header" title="set_status_header"><code class="xref php php-func docutils literal"><span class="pre">set_status_header()</span></code></a> under Apache (thanks to Guillermo Caminer from <a class="reference external" href="https://flowgate.net/">Flowgate</a>).</li>
<li>Fixed byte-safety issues in <a class="reference internal" href="libraries/encrypt.html"><span class="doc">Encrypt Library</span></a> (DEPRECATED) when <code class="docutils literal"><span class="pre">mbstring.func_overload</span></code> is enabled.</li>
<li>Fixed byte-safety issues in <a class="reference internal" href="libraries/encryption.html"><span class="doc">Encryption Library</span></a> when <code class="docutils literal"><span class="pre">mbstring.func_overload</span></code> is enabled.</li>
<li>Fixed byte-safety issues in <a class="reference internal" href="general/compatibility_functions.html"><span class="doc">compatibility functions</span></a> <code class="docutils literal"><span class="pre">password_hash()</span></code>, <code class="docutils literal"><span class="pre">hash_pbkdf2()</span></code> when <code class="docutils literal"><span class="pre">mbstring.func_overload</span></code> is enabled.</li>
<li>Updated <a class="reference internal" href="libraries/encrypt.html"><span class="doc">Encrypt Library</span></a> (DEPRECATED) to call <code class="docutils literal"><span class="pre">mcrypt_create_iv()</span></code> with <code class="docutils literal"><span class="pre">MCRYPT_DEV_URANDOM</span></code>.</li>
</ul>
</li>
<li>General Changes<ul>
<li>Updated the <a class="reference internal" href="libraries/image_lib.html"><span class="doc">Image Manipulation Library</span></a> to work-around an issue with some JPEGs when using GD.</li>
</ul>
</li>
</ul>
<div class="section" id="bug-fixes-for-3-1-4">
<h3>Bug fixes for 3.1.4<a class="headerlink" href="#bug-fixes-for-3-1-4" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Fixed a regression (#4975) - <a class="reference internal" href="libraries/loader.html"><span class="doc">Loader Library</span></a> couldn’t handle objects passed as view variables.</li>
<li>Fixed a bug (#4977) - <a class="reference internal" href="libraries/loader.html"><span class="doc">Loader Library</span></a> method <code class="docutils literal"><span class="pre">helper()</span></code> could accept any character as a filename extension separator.</li>
<li>Fixed a regression where the <a class="reference internal" href="libraries/sessions.html"><span class="doc">Session Library</span></a> would fail on a <code class="docutils literal"><span class="pre">session_regenerate_id(TRUE)</span></code> call with the ‘database’ driver.</li>
<li>Fixed a bug (#4987) - <a class="reference internal" href="database/query_builder.html"><span class="doc">Query Builder</span></a> caching didn’t keep track of table aliases.</li>
<li>Fixed a bug where <a class="reference internal" href="helpers/text_helper.html"><span class="doc">Text Helper</span></a> function <code class="docutils literal"><span class="pre">ascii_to_entities()</span></code> wasn’t byte-safe when <code class="docutils literal"><span class="pre">mbstring.func_overload</span></code> is enabled.</li>
<li>Fixed a bug where <code class="docutils literal"><span class="pre">CI_Log</span></code>, <code class="docutils literal"><span class="pre">CI_Output</span></code>, <code class="docutils literal"><span class="pre">CI_Email</span></code> and <code class="docutils literal"><span class="pre">CI_Zip</span></code> didn’t handle strings in a byte-safe manner when <code class="docutils literal"><span class="pre">mbstring.func_overload</span></code> is enabled.</li>
<li>Fixed a bug where <a class="reference internal" href="libraries/sessions.html"><span class="doc">Session Library</span></a> didn’t read session data in a byte-safe manner when <code class="docutils literal"><span class="pre">mbstring.func_overload</span></code> is enabled.</li>
<li>Fixed a bug (#4990) - <a class="reference internal" href="general/profiling.html"><span class="doc">Profiler</span></a> didn’t close <code class="docutils literal"><span class="pre"><pre></span></code> tags it generated.</li>
<li>Fixed a bug (#4990) - <a class="reference internal" href="general/profiling.html"><span class="doc">Profiler</span></a> didn’t HTML-escape quotes for <code class="docutils literal"><span class="pre">$_SESSION</span></code> variables.</li>
<li>Fixed a bug where <a class="reference internal" href="libraries/input.html"><span class="doc">Input Library</span></a> method <code class="docutils literal"><span class="pre">set_cookie()</span></code> didn’t allow its <em>httponly</em> and <em>secure</em> parameters to be overriden to <code class="docutils literal"><span class="pre">FALSE</span></code>.</li>
<li>Fixed a bug (#5006) - <a class="reference internal" href="general/common_functions.html"><span class="doc">common function</span></a> <a class="reference internal" href="general/common_functions.html#get_mimes" title="get_mimes"><code class="xref php php-func docutils literal"><span class="pre">get_mimes()</span></code></a> didn’t load <em>application/config/mimes.php</em> if an environment specific config exists.</li>
<li>Fixed a bug (#5006) - <a class="reference internal" href="general/common_functions.html"><span class="doc">common function</span></a> <a class="reference internal" href="general/common_functions.html#remove_invisible_characters" title="remove_invisible_characters"><code class="xref php php-func docutils literal"><span class="pre">remove_invisible_characters()</span></code></a> didn’t remove URL-encoded <code class="docutils literal"><span class="pre">0x7F</span></code>.</li>
<li>Fixed a bug (#4815) - <a class="reference internal" href="database/index.html"><span class="doc">Database Library</span></a> stripped URL-encoded sequences while escaping strings with the ‘mssql’ driver.</li>
<li>Fixed a bug (#5044) - <a class="reference internal" href="helpers/html_helper.html"><span class="doc">HTML Helper</span></a> function <a class="reference internal" href="helpers/html_helper.html#img" title="img"><code class="xref php php-func docutils literal"><span class="pre">img()</span></code></a> didn’t accept <code class="docutils literal"><span class="pre">data:</span></code> URI schemes for the image source.</li>
<li>Fixed a bug (#5050) - <a class="reference internal" href="database/index.html"><span class="doc">Database Library</span></a> tried to access an undefined property in a number of error handling cases.</li>
<li>Fixed a bug (#5057) - <a class="reference internal" href="database/index.html"><span class="doc">Database</span></a> driver ‘postgre’ didn’t actually apply extra options (such as ‘connect_timeout’) to its DSN.</li>
</ul>
</div>
</div>
<div class="section" id="version-3-1-3">
<h2>Version 3.1.3<a class="headerlink" href="#version-3-1-3" title="Permalink to this headline">¶</a></h2>
<p>Release Date: Jan 09, 2017</p>
<ul class="simple">
<li><strong>Security</strong><ul>
<li>Fixed an XSS vulnerability in <a class="reference internal" href="libraries/security.html"><span class="doc">Security Library</span></a> method <code class="docutils literal"><span class="pre">xss_clean()</span></code>.</li>
<li>Fixed a possible file inclusion vulnerability in <a class="reference internal" href="libraries/loader.html"><span class="doc">Loader Library</span></a> method <code class="docutils literal"><span class="pre">vars()</span></code>.</li>
<li>Fixed a possible remote code execution vulnerability in the <a class="reference internal" href="libraries/email.html"><span class="doc">Email Library</span></a> when ‘mail’ or ‘sendmail’ are used (thanks to Paul Buonopane from <a class="reference external" href="https://www.namepros.com/">NamePros</a>).</li>
<li>Added protection against timing side-channel attacks in <a class="reference internal" href="libraries/security.html"><span class="doc">Security Library</span></a> method <code class="docutils literal"><span class="pre">csrf_verify()</span></code>.</li>
<li>Added protection against BREACH attacks targeting the CSRF token field generated by <a class="reference internal" href="helpers/form_helper.html"><span class="doc">Form Helper</span></a> function <a class="reference internal" href="helpers/form_helper.html#form_open" title="form_open"><code class="xref php php-func docutils literal"><span class="pre">form_open()</span></code></a>.</li>
</ul>
</li>
<li>General Changes<ul>
<li>Deprecated <code class="docutils literal"><span class="pre">$config['allow_get_array']</span></code>.</li>
<li>Deprecated <code class="docutils literal"><span class="pre">$config['standardize_newlines']</span></code>.</li>
<li>Deprecated <a class="reference internal" href="helpers/date_helper.html"><span class="doc">Date Helper</span></a> function <a class="reference internal" href="helpers/date_helper.html#nice_date" title="nice_date"><code class="xref php php-func docutils literal"><span class="pre">nice_date()</span></code></a>.</li>
</ul>
</li>
</ul>
<div class="section" id="bug-fixes-for-3-1-3">
<h3>Bug fixes for 3.1.3<a class="headerlink" href="#bug-fixes-for-3-1-3" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Fixed a bug (#4886) - <a class="reference internal" href="database/index.html"><span class="doc">Database Library</span></a> didn’t differentiate bind markers inside double-quoted strings in queries.</li>
<li>Fixed a bug (#4890) - <a class="reference internal" href="libraries/xmlrpc.html"><span class="doc">XML-RPC Library</span></a> didn’t work on PHP 7.</li>
<li>Fixed a regression (#4887) - <a class="reference internal" href="libraries/file_uploading.html"><span class="doc">File Uploading Library</span></a> triggered fatal errors due to numerous PHP distribution channels (XAMPP and cPanel confirmed) explicitly disabling ext/fileinfo by default.</li>
<li>Fixed a bug (#4679) - <a class="reference internal" href="libraries/input.html"><span class="doc">Input Library</span></a> method <code class="docutils literal"><span class="pre">ip_address()</span></code> didn’t properly resolve <code class="docutils literal"><span class="pre">$config['proxy_ips']</span></code> IPv6 addresses.</li>
<li>Fixed a bug (#4902) - <a class="reference internal" href="libraries/image_lib.html"><span class="doc">Image Manipulation Library</span></a> processing via ImageMagick didn’t work.</li>
<li>Fixed a bug (#4905) - <a class="reference internal" href="libraries/loader.html"><span class="doc">Loader Library</span></a> didn’t take into account possible user-provided directory paths when loading helpers.</li>
<li>Fixed a bug (#4916) - <a class="reference internal" href="libraries/sessions.html"><span class="doc">Session Library</span></a> with <code class="docutils literal"><span class="pre">sess_match_ip</span></code> enabled was unusable for IPv6 clients when using the ‘database’ driver on MySQL 5.7.5+.</li>
<li>Fixed a bug (#4917) - <a class="reference internal" href="helpers/date_helper.html"><span class="doc">Date Helper</span></a> function <a class="reference internal" href="helpers/date_helper.html#nice_date" title="nice_date"><code class="xref php php-func docutils literal"><span class="pre">nice_date()</span></code></a> didn’t handle YYYYMMDD inputs properly.</li>
<li>Fixed a bug (#4923) - <a class="reference internal" href="libraries/sessions.html"><span class="doc">Session Library</span></a> could execute an erroneous SQL query with the ‘database’ driver, if the lock attempt times out.</li>
<li>Fixed a bug (#4927) - <a class="reference internal" href="libraries/output.html"><span class="doc">Output Library</span></a> method <code class="docutils literal"><span class="pre">get_header()</span></code> returned the first matching header, regardless of whether it would be replaced by a second <code class="docutils literal"><span class="pre">set_header()</span></code> call.</li>
<li>Fixed a bug (#4844) - <a class="reference internal" href="libraries/email.html"><span class="doc">Email Library</span></a> didn’t apply <code class="docutils literal"><span class="pre">escapeshellarg()</span></code> to the while passing the Sendmail <code class="docutils literal"><span class="pre">-f</span></code> parameter through <code class="docutils literal"><span class="pre">popen()</span></code>.</li>
<li>Fixed a bug (#4928) - the bootstrap file didn’t check if <em>config/constants.php</em> exists before trying to load it.</li>
<li>Fixed a bug (#4937) - <a class="reference internal" href="libraries/image_lib.html"><span class="doc">Image Manipulation Library</span></a> method <code class="docutils literal"><span class="pre">initialize()</span></code> didn’t translate <em>new_image</em> inputs to absolute paths.</li>
<li>Fixed a bug (#4941) - <a class="reference internal" href="database/query_builder.html"><span class="doc">Query Builder</span></a> method <code class="docutils literal"><span class="pre">order_by()</span></code> didn’t work with ‘RANDOM’ under the ‘pdo/sqlite’ driver.</li>
<li>Fixed a regression (#4892) - <a class="reference internal" href="database/query_builder.html"><span class="doc">Query Builder</span></a> method <code class="docutils literal"><span class="pre">update_batch()</span></code> didn’t properly handle identifier escaping.</li>
<li>Fixed a bug (#4953) - <a class="reference internal" href="database/forge.html"><span class="doc">Database Forge</span></a> method <code class="docutils literal"><span class="pre">create_table()</span></code> didn’t update an internal tables list cache if it exists but is empty.</li>
<li>Fixed a bug (#4958) - <a class="reference internal" href="database/query_builder.html"><span class="doc">Query Builder</span></a> method <code class="docutils literal"><span class="pre">count_all_results()</span></code> didn’t take into account cached <code class="docutils literal"><span class="pre">ORDER</span> <span class="pre">BY</span></code> clauses.</li>
<li>Fixed a bug (#4804) - <a class="reference internal" href="database/query_builder.html"><span class="doc">Query Builder</span></a> method <code class="docutils literal"><span class="pre">insert_batch()</span></code> could fail if the input array pointer was modified.</li>
<li>Fixed a bug (#4962) - <a class="reference internal" href="database/forge.html"><span class="doc">Database Force</span></a> method <code class="docutils literal"><span class="pre">alter_table()</span></code> would fail with the ‘oci8’ driver.</li>
<li>Fixed a bug (#4457) - <a class="reference internal" href="libraries/image_lib.html"><span class="doc">Image Manipulation Library</span></a> method <code class="docutils literal"><span class="pre">get_image_properties()</span></code> didn’t detect invalid images.</li>
<li>Fixed a bug (#4765) - <a class="reference internal" href="libraries/email.html"><span class="doc">Email Library</span></a> didn’t send the <code class="docutils literal"><span class="pre">User-Agent</span></code> header without a prior call to <code class="docutils literal"><span class="pre">clear()</span></code>.</li>
</ul>
</div>
</div>
<div class="section" id="version-3-1-2">
<h2>Version 3.1.2<a class="headerlink" href="#version-3-1-2" title="Permalink to this headline">¶</a></h2>
<p>Release Date: Oct 28, 2016</p>
<ul class="simple">
<li><strong>Security</strong><ul>
<li>Fixed a number of new vulnerabilities in <a class="reference internal" href="libraries/security.html"><span class="doc">Security Library</span></a> method <code class="docutils literal"><span class="pre">xss_clean()</span></code>.</li>
</ul>
</li>
<li>General Changes<ul>
<li>Allowed PHP 4-style constructors (<code class="docutils literal"><span class="pre">Matching_name::Matching_name()</span></code> methods) to be used as routes, if there’s a <code class="docutils literal"><span class="pre">__construct()</span></code> to override them.</li>
</ul>
</li>
</ul>
<div class="section" id="bug-fixes-for-3-1-2">
<h3>Bug fixes for 3.1.2<a class="headerlink" href="#bug-fixes-for-3-1-2" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Fixed a regression (#4874) - <a class="reference internal" href="libraries/sessions.html"><span class="doc">Session Library</span></a> didn’t take into account <code class="docutils literal"><span class="pre">session.hash_bits_per_character</span></code> when validating session IDs.</li>
<li>Fixed a bug (#4871) - <a class="reference internal" href="database/query_builder.html"><span class="doc">Query Builder</span></a> method <code class="docutils literal"><span class="pre">update_batch()</span></code> didn’t properly handle identifier escaping.</li>
<li>Fixed a bug (#4884) - <a class="reference internal" href="database/query_builder.html"><span class="doc">Query Builder</span></a> didn’t properly parse field names ending in ‘is’ when used inside WHERE and HAVING statements.</li>
<li>Fixed a bug where <code class="docutils literal"><span class="pre">CI_Log</span></code>, <code class="docutils literal"><span class="pre">CI_Output</span></code>, <code class="docutils literal"><span class="pre">CI_Email</span></code> and <code class="docutils literal"><span class="pre">CI_Zip</span></code> didn’t handle strings in a byte-safe manner when <code class="docutils literal"><span class="pre">mbstring.func_overload</span></code> is enabled.</li>
</ul>
</div>
</div>
<div class="section" id="version-3-1-1">
<h2>Version 3.1.1<a class="headerlink" href="#version-3-1-1" title="Permalink to this headline">¶</a></h2>
<p>Release Date: Oct 22, 2016</p>
<ul class="simple">
<li><strong>Security</strong><ul>
<li>Fixed a flaw in <a class="reference internal" href="libraries/security.html"><span class="doc">Security Library</span></a> method <code class="docutils literal"><span class="pre">entity_decode()</span></code> (used by <code class="docutils literal"><span class="pre">xss_clean()</span></code>) that affects HTML 5 entities when using PHP 5.3.</li>
</ul>
</li>
<li>General Changes<ul>
<li>Added <code class="docutils literal"><span class="pre">E_PARSE</span></code> to the list of error levels detected by the shutdown handler.</li>
<li>Updated <a class="reference internal" href="helpers/inflector_helper.html"><span class="doc">Inflector Helper</span></a> <a class="reference internal" href="helpers/inflector_helper.html#is_countable" title="is_countable"><code class="xref php php-func docutils literal"><span class="pre">is_countable()</span></code></a> with more words.</li>
<li>Updated <a class="reference internal" href="general/common_functions.html"><span class="doc">common function</span></a> <a class="reference internal" href="general/common_functions.html#set_status_header" title="set_status_header"><code class="xref php php-func docutils literal"><span class="pre">set_status_header()</span></code></a> with new status codes from IETF RFCs
<a class="reference external" href="https://tools.ietf.org/html/rfc2817">2817</a> (426)
and <a class="reference external" href="https://tools.ietf.org/html/rfc6585">6585</a> (428, 429, 431, 511).</li>
</ul>
</li>
</ul>
<div class="section" id="bug-fixes-for-3-1-1">
<h3>Bug fixes for 3.1.1<a class="headerlink" href="#bug-fixes-for-3-1-1" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Fixed a bug (#4732) - <a class="reference internal" href="libraries/sessions.html"><span class="doc">Session Library</span></a> triggered errors while writing data for a newly-created sessions with the ‘memcached’ driver.</li>
<li>Fixed a regression (#4736) - <a class="reference internal" href="libraries/image_lib.html"><span class="doc">Image Manipulation Library</span></a> processing via ImageMagick didn’t work.</li>
<li>Fixed a bug (#4737) - <a class="reference internal" href="database/query_builder.html"><span class="doc">Query Builder</span></a> didn’t add an <code class="docutils literal"><span class="pre">OFFSET</span></code> when <code class="docutils literal"><span class="pre">LIMIT</span></code> is zero or unused.</li>
<li>Fixed a regression (#4739) - <a class="reference internal" href="libraries/email.html"><span class="doc">Email Library</span></a> doesn’t properly separate attachment bodies from headers.</li>
<li>Fixed a bug (#4754) - <a class="reference internal" href="libraries/unit_testing.html"><span class="doc">Unit Testing Library</span></a> method <code class="docutils literal"><span class="pre">result()</span></code> didn’t translate <code class="docutils literal"><span class="pre">res_datatype</span></code>.</li>
<li>Fixed a bug (#4759) - <a class="reference internal" href="libraries/form_validation.html"><span class="doc">Form Validation</span></a>, <a class="reference internal" href="libraries/trackback.html"><span class="doc">Trackback</span></a> and <a class="reference internal" href="libraries/xmlrpc.html"><span class="doc">XML-RPC</span></a> libraries treated URI schemes in a case-sensitive manner.</li>
<li>Fixed a bug (#4762) - <a class="reference internal" href="libraries/caching.html"><span class="doc">Cache Library</span></a> ‘file’ driver method <code class="docutils literal"><span class="pre">get_metadata()</span></code> checked TTL time against <code class="docutils literal"><span class="pre">mtime</span></code> instead of the cache item’s creation time.</li>
<li>Fixed a bug where <a class="reference internal" href="libraries/file_uploading.html"><span class="doc">File Uploading Library</span></a> generated error messages on PHP 7.1.</li>
<li>Fixed a bug (#4780) - <a class="reference internal" href="general/compatibility_functions.html"><span class="doc">compatibility function</span></a> <code class="docutils literal"><span class="pre">hex2bin()</span></code> didn’t reject inputs of type “resource”.</li>
<li>Fixed a bug (#4787) - <a class="reference internal" href="libraries/form_validation.html"><span class="doc">Form Validation Library</span></a> method <code class="docutils literal"><span class="pre">valid_email()</span></code> triggered <code class="docutils literal"><span class="pre">E_WARNING</span></code> when input emails have empty domain names.</li>
<li>Fixed a bug (#4805) - <a class="reference internal" href="database/index.html"><span class="doc">Database</span></a> driver ‘mysqli’ didn’t use the <code class="docutils literal"><span class="pre">MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT</span></code> flag properly.</li>
<li>Fixed a bug (#4808) - <a class="reference internal" href="database/index.html"><span class="doc">Database</span></a> method <code class="docutils literal"><span class="pre">is_write_type()</span></code> only looked at the first line of a queries using <code class="docutils literal"><span class="pre">RETURNING</span></code> with the ‘postgre’, ‘pdo/pgsql’, ‘odbc’ and ‘pdo/odbc’ drivers.</li>
<li>Fixed a bug where <a class="reference internal" href="database/query_builder.html"><span class="doc">Query Builder</span></a> method <code class="docutils literal"><span class="pre">insert_batch()</span></code> tried to execute an unsupported SQL query with the ‘ibase’ and ‘pdo/firebird’ drivers.</li>
<li>Fixed a bug (#4809) - <a class="reference internal" href="database/index.html"><span class="doc">Database</span></a> driver ‘pdo/mysql’ didn’t turn off <code class="docutils literal"><span class="pre">AUTOCOMMIT</span></code> when starting a transaction.</li>
<li>Fixed a bug (#4822) - <a class="reference internal" href="helpers/captcha_helper.html"><span class="doc">CAPTCHA Helper</span></a> didn’t clear expired PNG images.</li>
<li>Fixed a bug (#4823) - <a class="reference internal" href="libraries/sessions.html"><span class="doc">Session Library</span></a> ‘files’ driver could enter an infinite loop if <code class="docutils literal"><span class="pre">mbstring.func_overload</span></code> is enabled.</li>
<li>Fixed a bug (#4851) - <a class="reference internal" href="database/forge.html"><span class="doc">Database Forge</span></a> didn’t quote schema names passed to its <code class="docutils literal"><span class="pre">create_database()</span></code> method.</li>
<li>Fixed a bug (#4863) - <a class="reference internal" href="libraries/table.html"><span class="doc">HTML Table Library</span></a> method <code class="docutils literal"><span class="pre">set_caption()</span></code> was missing method chaining support.</li>
<li>Fixed a bug (#4843) - <a class="reference internal" href="libraries/xmlrpc.html"><span class="doc">XML-RPC Library</span></a> client class didn’t set a read/write socket timeout.</li>
<li>Fixed a bug (#4865) - uncaught exceptions didn’t set the HTTP Response status code to 500 unless <code class="docutils literal"><span class="pre">display_errors</span></code> was turned On.</li>
<li>Fixed a bug (#4830) - <a class="reference internal" href="libraries/sessions.html"><span class="doc">Session Library</span></a> didn’t take into account the new session INI settings in PHP 7.1.</li>
</ul>
</div>
</div>
<div class="section" id="version-3-1-0">
<h2>Version 3.1.0<a class="headerlink" href="#version-3-1-0" title="Permalink to this headline">¶</a></h2>
<p>Release Date: July 26, 2016</p>
<ul class="simple">
<li><strong>Security</strong><ul>
<li>Fixed an SQL injection in the ‘odbc’ database driver.</li>
<li>Updated <a class="reference internal" href="helpers/path_helper.html#set_realpath" title="set_realpath"><code class="xref php php-func docutils literal"><span class="pre">set_realpath()</span></code></a> <a class="reference internal" href="helpers/path_helper.html"><span class="doc">Path Helper</span></a> function to filter-out <code class="docutils literal"><span class="pre">php://</span></code> wrapper inputs.</li>
<li>Officially dropped any kind of support for PHP 5.2.x and anything under 5.3.7.</li>
</ul>
</li>
<li>General Changes<ul>
<li>Updated <a class="reference internal" href="libraries/image_lib.html"><span class="doc">Image Manipulation Library</span></a> to validate <em>width</em> and <em>height</em> configuration values.</li>
<li>Updated <a class="reference internal" href="libraries/encryption.html"><span class="doc">Encryption Library</span></a> to always prefer <code class="docutils literal"><span class="pre">random_bytes()</span></code> when it is available.</li>
<li>Updated <a class="reference internal" href="libraries/sessions.html"><span class="doc">Session Library</span></a> to log ‘debug’ messages when using fallbacks to <em>session.save_path</em> (php.ini) or ‘sess_use_database’, ‘sess_table_name’ settings.</li>
<li>Added a ‘LONGTEXT’ to ‘STRING’ alias to <a class="reference internal" href="database/forge.html"><span class="doc">Database Forge</span></a> for the ‘cubrid’, ‘pdo/cubrid’ drivers.</li>
<li>Added ‘TINYINT’, ‘MEDIUMINT’, ‘INT’ and ‘BIGINT’ aliases to ‘NUMBER’ to <a class="reference internal" href="database/forge.html"><span class="doc">Database Forge</span></a> for the ‘oci8’, ‘pdo/oci’ drivers.</li>
<li><a class="reference internal" href="general/compatibility_functions.html#password_hash" title="password_hash"><code class="xref php php-func docutils literal"><span class="pre">password_hash()</span></code></a> <a class="reference internal" href="general/compatibility_functions.html"><span class="doc">compatibility function</span></a> changes:<ul>
<li>Changed salt-generation logic to prefer <code class="docutils literal"><span class="pre">random_bytes()</span></code> when it is available.</li>
<li>Changed salt-generation logic to prefer direct access to <em>/dev/urandom</em> over <code class="docutils literal"><span class="pre">openssl_random_pseudo_bytes()</span></code>.</li>
<li>Changed salt-generation logic to error if <code class="docutils literal"><span class="pre">openssl_random_pseudo_bytes()</span></code> sets its <code class="docutils literal"><span class="pre">$crypto_strong</span></code> flag to FALSE.</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="section" id="bug-fixes-for-3-1-0">
<h3>Bug fixes for 3.1.0<a class="headerlink" href="#bug-fixes-for-3-1-0" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Fixed a bug where <a class="reference internal" href="libraries/image_lib.html"><span class="doc">Image Manipulation Library</span></a> didn’t escape image source paths passed to ImageMagick as shell arguments.</li>
<li>Fixed a bug (#861) - <a class="reference internal" href="database/forge.html"><span class="doc">Database Forge</span></a> method <code class="docutils literal"><span class="pre">create_table()</span></code> incorrectly accepts field width constraints for MSSQL/SQLSRV integer-type columns.</li>
<li>Fixed a bug (#4562) - <a class="reference internal" href="libraries/caching.html"><span class="doc">Cache Library</span></a> didn’t check if <code class="docutils literal"><span class="pre">Memcached::quit()</span></code> is available before calling it.</li>
<li>Fixed a bug (#4563) - <a class="reference internal" href="libraries/input.html"><span class="doc">Input Library</span></a> method <code class="docutils literal"><span class="pre">request_headers()</span></code> ignores <code class="docutils literal"><span class="pre">$xss_clean</span></code> parameter value after first call.</li>
<li>Fixed a bug (#4605) - <a class="reference internal" href="libraries/config.html"><span class="doc">Config Library</span></a> method <code class="docutils literal"><span class="pre">site_url()</span></code> stripped trailing slashes from relative URIs passed to it.</li>
<li>Fixed a bug (#4613) - <a class="reference internal" href="libraries/config.html"><span class="doc">Email Library</span></a> failed to send multiple emails via SMTP due to “already authenticated” errors when keep-alive is enabled.</li>
<li>Fixed a bug (#4633) - <a class="reference internal" href="libraries/form_validation.html"><span class="doc">Form Validation Library</span></a> ignored multiple “callback” rules for empty, non-required fields.</li>
<li>Fixed a bug (#4637) - <a class="reference internal" href="database/index.html"><span class="doc">Database</span></a> method <code class="docutils literal"><span class="pre">error()</span></code> returned <code class="docutils literal"><span class="pre">FALSE</span></code> with the ‘oci8’ driver if there was no error.</li>
<li>Fixed a bug (#4647) - <a class="reference internal" href="database/query_builder.html"><span class="doc">Query Builder</span></a> method <code class="docutils literal"><span class="pre">count_all_results()</span></code> doesn’t take into account <code class="docutils literal"><span class="pre">GROUP</span> <span class="pre">BY</span></code> clauses while deciding whether to do a subquery or not.</li>
<li>Fixed a bug where <a class="reference internal" href="libraries/sessions.html"><span class="doc">Session Library</span></a> ‘redis’ driver didn’t properly detect if a connection is properly closed on PHP 5.x.</li>
<li>Fixed a bug (#4583) - <a class="reference internal" href="libraries/email.html"><span class="doc">Email Library</span></a> didn’t properly handle inline attachments in HTML emails.</li>
<li>Fixed a bug where <a class="reference internal" href="database/index.html"><span class="doc">Database</span></a> method <code class="docutils literal"><span class="pre">db_select()</span></code> didn’t clear metadata cached for the previously used database.</li>
<li>Fixed a bug (#4675) - <a class="reference internal" href="helpers/file_helper.html"><span class="doc">File Helper</span></a> function <a class="reference internal" href="helpers/file_helper.html#delete_files" title="delete_files"><code class="xref php php-func docutils literal"><span class="pre">delete_files()</span></code></a> treated symbolic links as regular directories.</li>
<li>Fixed a bug (#4674) - <a class="reference internal" href="database/index.html"><span class="doc">Database</span></a> driver ‘dblib’ triggered E_WARNING messages while connecting.</li>
<li>Fixed a bug (#4678) - <a class="reference internal" href="database/forge.html"><span class="doc">Database Forge</span></a> tried to use unsupported <code class="docutils literal"><span class="pre">IF</span> <span class="pre">NOT</span> <span class="pre">EXISTS</span></code> clause when creating tables on Oracle.</li>
<li>Fixed a bug (#4691) - <a class="reference internal" href="libraries/file_uploading.html"><span class="doc">File Uploading Library</span></a> method <code class="docutils literal"><span class="pre">data()</span></code> returns wrong ‘raw_name’ when the filename extension is also contained in the raw filename.</li>
<li>Fixed a bug (#4679) - <a class="reference internal" href="libraries/input.html"><span class="doc">Input Library</span></a> method <code class="docutils literal"><span class="pre">ip_address()</span></code> errors with a matching <code class="docutils literal"><span class="pre">$config['proxy_ips']</span></code> IPv6 address.</li>
<li>Fixed a bug (#4695) - <a class="reference internal" href="libraries/user_agent.html"><span class="doc">User Agent Library</span></a> didn’t load the <em>config/user_agents.php</em> file when there’s no <code class="docutils literal"><span class="pre">User-Agent</span></code> HTTP request header.</li>
<li>Fixed a bug (#4713) - <a class="reference internal" href="database/query_builder.html"><span class="doc">Query Builder</span></a> methods <code class="docutils literal"><span class="pre">insert_batch()</span></code>, <code class="docutils literal"><span class="pre">update_batch()</span></code> could return wrong affected rows count.</li>
<li>Fixed a bug (#4712) - <a class="reference internal" href="libraries/email.html"><span class="doc">Email Library</span></a> doesn’t sent <code class="docutils literal"><span class="pre">RSET</span></code> to SMTP servers after a failure and while using keep-alive.</li>
<li>Fixed a bug (#4724) - <a class="reference internal" href="general/common_functions.html"><span class="doc">Common function</span></a> <a class="reference internal" href="general/common_functions.html#is_https" title="is_https"><code class="xref php php-func docutils literal"><span class="pre">is_https()</span></code></a> compared the <code class="docutils literal"><span class="pre">X-Forwarded-Proto</span></code> HTTP header case-sensitively.</li>
<li>Fixed a bug (#4725) - <a class="reference internal" href="general/common_functions.html"><span class="doc">Common function</span></a> <a class="reference internal" href="general/common_functions.html#remove_invisible_characters" title="remove_invisible_characters"><code class="xref php php-func docutils literal"><span class="pre">remove_invisible_characters()</span></code></a> searched case-sensitively for URL-encoded characters.</li>
</ul>
</div>
</div>
<div class="section" id="version-3-0-6">
<h2>Version 3.0.6<a class="headerlink" href="#version-3-0-6" title="Permalink to this headline">¶</a></h2>
<p>Release Date: March 21, 2016</p>
<ul class="simple">
<li>General Changes<ul>
<li>Added a destructor to <a class="reference internal" href="libraries/caching.html"><span class="doc">Cache Library</span></a> ‘memcached’ driver to ensure that Memcache(d) connections are properly closed.</li>
<li>Deprecated <a class="reference internal" href="libraries/form_validation.html"><span class="doc">Form Validation Library</span></a> method <code class="docutils literal"><span class="pre">prep_for_form()</span></code>.</li>
</ul>
</li>
</ul>
<div class="section" id="bug-fixes-for-3-0-6">
<h3>Bug fixes for 3.0.6<a class="headerlink" href="#bug-fixes-for-3-0-6" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Fixed a bug (#4516) - <a class="reference internal" href="libraries/form_validation.html"><span class="doc">Form Validation Library</span></a> always accepted empty array inputs.</li>
<li>Fixed a bug where <a class="reference internal" href="libraries/sessions.html"><span class="doc">Session Library</span></a> allowed accessing <code class="docutils literal"><span class="pre">$_SESSION</span></code> values as class properties but <code class="docutils literal"><span class="pre">isset()</span></code> didn’t work on them.</li>
<li>Fixed a bug where <a class="reference internal" href="libraries/form_validation.html"><span class="doc">Form Validation Library</span></a> modified the <code class="docutils literal"><span class="pre">$_POST</span></code> array when the data being validated was actually provided via <code class="docutils literal"><span class="pre">set_data()</span></code>.</li>
<li>Fixed a bug (#4539) - <a class="reference internal" href="libraries/migration.html"><span class="doc">Migration Library</span></a> applied migrations before validating that all migrations within the requested version range are valid.</li>
<li>Fixed a bug (#4539) - <a class="reference internal" href="libraries/migration.html"><span class="doc">Migration Library</span></a> triggered failures for migrations that are out of the requested version range.</li>
</ul>
</div>
</div>
<div class="section" id="version-3-0-5">
<h2>Version 3.0.5<a class="headerlink" href="#version-3-0-5" title="Permalink to this headline">¶</a></h2>
<p>Release Date: March 11, 2016</p>
<ul class="simple">
<li>Core<ul>
<li>Changed <a class="reference internal" href="libraries/loader.html"><span class="doc">Loader Library</span></a> to allow <code class="docutils literal"><span class="pre">$autoload['drivers']</span></code> assigning with custom property names.</li>
<li>Changed <a class="reference internal" href="libraries/loader.html"><span class="doc">Loader Library</span></a> to ignore variables prefixed with ‘_ci_’ when loading views.</li>
</ul>
</li>
<li>General Changes<ul>
<li>Updated the <a class="reference internal" href="libraries/sessions.html"><span class="doc">Session Library</span></a> to produce friendlier error messages on failures with drivers other than ‘files’.</li>
</ul>
</li>
<li><a class="reference internal" href="database/query_builder.html"><span class="doc">Query Builder</span></a><ul>
<li>Added a <code class="docutils literal"><span class="pre">$batch_size</span></code> parameter to the <code class="docutils literal"><span class="pre">insert_batch()</span></code> method (defaults to 100).</li>
<li>Added a <code class="docutils literal"><span class="pre">$batch_size</span></code> parameter to the <code class="docutils literal"><span class="pre">update_batch()</span></code> method (defaults to 100).</li>
</ul>
</li>
</ul>
<div class="section" id="bug-fixes-for-3-0-5">
<h3>Bug fixes for 3.0.5<a class="headerlink" href="#bug-fixes-for-3-0-5" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Fixed a bug (#4391) - <a class="reference internal" href="libraries/email.html"><span class="doc">Email Library</span></a> method <code class="docutils literal"><span class="pre">reply_to()</span></code> didn’t apply Q-encoding.</li>
<li>Fixed a bug (#4384) - <a class="reference internal" href="libraries/pagination.html"><span class="doc">Pagination Library</span></a> ignored (possible) <em>cur_page</em> configuration value.</li>
<li>Fixed a bug (#4395) - <a class="reference internal" href="database/query_builder.html"><span class="doc">Query Builder</span></a> method <code class="docutils literal"><span class="pre">count_all_results()</span></code> still fails if an <code class="docutils literal"><span class="pre">ORDER</span> <span class="pre">BY</span></code> condition is used.</li>
<li>Fixed a bug (#4399) - <a class="reference internal" href="database/query_builder.html"><span class="doc">Query Builder</span></a> methods <code class="docutils literal"><span class="pre">insert_batch()</span></code>, <code class="docutils literal"><span class="pre">update_batch()</span></code> produced confusing error messages when called with no data and <em>db_debug</em> is enabled.</li>
<li>Fixed a bug (#4401) - <a class="reference internal" href="database/query_builder.html"><span class="doc">Query Builder</span></a> breaks <code class="docutils literal"><span class="pre">WHERE</span></code> and <code class="docutils literal"><span class="pre">HAVING</span></code> conditions that use <code class="docutils literal"><span class="pre">IN()</span></code> with strings containing a closing parenthesis.</li>
<li>Fixed a regression in <a class="reference internal" href="helpers/form_helper.html"><span class="doc">Form Helper</span></a> functions <a class="reference internal" href="helpers/form_helper.html#set_checkbox" title="set_checkbox"><code class="xref php php-func docutils literal"><span class="pre">set_checkbox()</span></code></a>, <a class="reference internal" href="helpers/form_helper.html#set_radio" title="set_radio"><code class="xref php php-func docutils literal"><span class="pre">set_radio()</span></code></a> where “checked” inputs aren’t recognized after a form submit.</li>
<li>Fixed a bug (#4407) - <a class="reference internal" href="helpers/text_helper.html"><span class="doc">Text Helper</span></a> function <a class="reference internal" href="helpers/text_helper.html#word_censor" title="word_censor"><code class="xref php php-func docutils literal"><span class="pre">word_censor()</span></code></a> doesn’t work under PHP 7 if there’s no custom replacement provided.</li>
<li>Fixed a bug (#4415) - <a class="reference internal" href="libraries/form_validation.html"><span class="doc">Form Validation Library</span></a> rule <strong>valid_url</strong> didn’t accept URLs with IPv6 addresses enclosed in square brackets under PHP 5 (upstream bug).</li>
<li>Fixed a bug (#4427) - <a class="reference internal" href="helpers/captcha_helper.html"><span class="doc">CAPTCHA Helper</span></a> triggers an error if the provided character pool is too small.</li>
<li>Fixed a bug (#4430) - <a class="reference internal" href="libraries/file_uploading.html"><span class="doc">File Uploading Library</span></a> option <strong>file_ext_tolower</strong> didn’t work.</li>
<li>Fixed a bug (#4431) - <a class="reference internal" href="database/query_builder.html"><span class="doc">Query Builder</span></a> method <code class="docutils literal"><span class="pre">join()</span></code> discarded opening parentheses.</li>
<li>Fixed a bug (#4424) - <a class="reference internal" href="libraries/sessions.html"><span class="doc">Session Library</span></a> triggered a PHP warning when writing a newly created session with the ‘redis’ driver.</li>
<li>Fixed a bug (#4437) - <a class="reference internal" href="helpers/inflector_helper.html"><span class="doc">Inflector Helper</span></a> function <a class="reference internal" href="helpers/inflector_helper.html#humanize" title="humanize"><code class="xref php php-func docutils literal"><span class="pre">humanize()</span></code></a> didn’t escape its <code class="docutils literal"><span class="pre">$separator</span></code> parameter while using it in a regular expression.</li>
<li>Fixed a bug where <a class="reference internal" href="libraries/sessions.html"><span class="doc">Session Library</span></a> didn’t properly handle its locks’ statuses with the ‘memcached’ driver.</li>
<li>Fixed a bug where <a class="reference internal" href="libraries/sessions.html"><span class="doc">Session Library</span></a> triggered a PHP warning when writing a newly created session with the ‘memcached’ driver.</li>
<li>Fixed a bug (#4449) - <a class="reference internal" href="database/query_builder.html"><span class="doc">Query Builder</span></a> method <code class="docutils literal"><span class="pre">join()</span></code> breaks conditions containing <code class="docutils literal"><span class="pre">IS</span> <span class="pre">NULL</span></code>, <code class="docutils literal"><span class="pre">IS</span> <span class="pre">NOT</span> <span class="pre">NULL</span></code>.</li>
<li>Fixed a bug (#4491) - <a class="reference internal" href="libraries/sessions.html"><span class="doc">Session Library</span></a> didn’t clean-up internal variables for emulated locks with the ‘redis’ driver.</li>
<li>Fixed a bug where <a class="reference internal" href="libraries/sessions.html"><span class="doc">Session Library</span></a> didn’t clean-up internal variables for emulated locks with the ‘memcached’ driver.</li>
<li>Fixed a bug where <a class="reference internal" href="database/index.html"><span class="doc">Database</span></a> transactions didn’t work with the ‘ibase’ driver.</li>
<li>Fixed a bug (#4475) - <a class="reference internal" href="libraries/security.html"><span class="doc">Security Library</span></a> method <code class="docutils literal"><span class="pre">strip_image_tags()</span></code> preserves only the first URL character from non-quoted <em>src</em> attributes.</li>
<li>Fixed a bug where <a class="reference internal" href="general/profiling.html"><span class="doc">Profiler Library</span></a> didn’t apply <code class="docutils literal"><span class="pre">htmlspecialchars()</span></code> to all displayed inputs.</li>
<li>Fixed a bug (#4277) - <a class="reference internal" href="libraries/caching.html"><span class="doc">Cache Library</span></a> triggered fatal errors if accessing the Memcache(d) and/or Redis driver and they are not available on the system.</li>
<li>Fixed a bug where <a class="reference internal" href="libraries/caching.html"><span class="doc">Cache Library</span></a> method <code class="docutils literal"><span class="pre">is_supported()</span></code> logged an error message when it returns <code class="docutils literal"><span class="pre">FALSE</span></code> for the APC and Wincache drivers.</li>
</ul>
</div>
</div>
<div class="section" id="version-3-0-4">
<h2>Version 3.0.4<a class="headerlink" href="#version-3-0-4" title="Permalink to this headline">¶</a></h2>
<p>Release Date: January 13, 2016</p>
<ul class="simple">
<li>General Changes<ul>
<li>Updated <a class="reference internal" href="libraries/security.html"><span class="doc">Security Library</span></a> method <code class="docutils literal"><span class="pre">get_random_bytes()</span></code> to use PHP 7’s <code class="docutils literal"><span class="pre">random_bytes()</span></code> function when possible.</li>
<li>Updated <a class="reference internal" href="libraries/security.html"><span class="doc">Encryption Library</span></a> method <code class="docutils literal"><span class="pre">create_key()</span></code> to use PHP 7’s <code class="docutils literal"><span class="pre">random_bytes()</span></code> function when possible.</li>
</ul>
</li>
<li><a class="reference internal" href="database/index.html"><span class="doc">Database</span></a><ul>
<li>Added support for <code class="docutils literal"><span class="pre">OFFSET-FETCH</span></code> with Oracle 12c for the ‘oci8’ and ‘pdo/oci’ drivers.</li>
<li>Added support for the new <code class="docutils literal"><span class="pre">MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT</span></code> constant from <a class="reference external" href="https://secure.php.net/ChangeLog-5.php#5.6.16">PHP 5.6.16</a> for the ‘mysqli’ driver.</li>
</ul>
</li>
</ul>
<div class="section" id="bug-fixes-for-3-0-4">
<h3>Bug fixes for 3.0.4<a class="headerlink" href="#bug-fixes-for-3-0-4" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Fixed a bug (#4212) - <a class="reference internal" href="database/query_builder.html"><span class="doc">Query Builder</span></a> method <code class="docutils literal"><span class="pre">count_all_results()</span></code> could fail if an <code class="docutils literal"><span class="pre">ORDER</span> <span class="pre">BY</span></code> condition is used.</li>
<li>Fixed a bug where <a class="reference internal" href="helpers/form_helper.html"><span class="doc">Form Helper</span></a> functions <a class="reference internal" href="helpers/form_helper.html#set_checkbox" title="set_checkbox"><code class="xref php php-func docutils literal"><span class="pre">set_checkbox()</span></code></a>, <a class="reference internal" href="helpers/form_helper.html#set_radio" title="set_radio"><code class="xref php php-func docutils literal"><span class="pre">set_radio()</span></code></a> didn’t “uncheck” inputs on a submitted form if the default state is “checked”.</li>
<li>Fixed a bug (#4217) - <a class="reference internal" href="libraries/config.html"><span class="doc">Config Library</span></a> method <code class="docutils literal"><span class="pre">base_url()</span></code> didn’t use proper formatting for IPv6 when it falls back to <code class="docutils literal"><span class="pre">$_SERVER['SERVER_ADDR']</span></code>.</li>
<li>Fixed a bug where <a class="reference internal" href="helpers/captcha_helper.html"><span class="doc">CAPTCHA Helper</span></a> entered an infinite loop while generating a random string.</li>
<li>Fixed a bug (#4223) - <a class="reference internal" href="database/index.html"><span class="doc">Database</span></a> method <code class="docutils literal"><span class="pre">simple_query()</span></code> blindly executes queries without checking if the connection was initialized properly.</li>
<li>Fixed a bug (#4244) - <a class="reference internal" href="libraries/email.html"><span class="doc">Email Library</span></a> could improperly use “unsafe” US-ASCII characters during Quoted-printable encoding.</li>
<li>Fixed a bug (#4245) - <a class="reference internal" href="database/forge.html"><span class="doc">Database Forge</span></a> couldn’t properly handle <code class="docutils literal"><span class="pre">SET</span></code> and <code class="docutils literal"><span class="pre">ENUM</span></code> type fields with string values.</li>
<li>Fixed a bug (#4283) - <a class="reference internal" href="helpers/string_helper.html"><span class="doc">String Helper</span></a> function <a class="reference internal" href="helpers/string_helper.html#alternator" title="alternator"><code class="xref php php-func docutils literal"><span class="pre">alternator()</span></code></a> couldn’t be called without arguments.</li>
<li>Fixed a bug (#4306) - <a class="reference internal" href="database/index.html"><span class="doc">Database</span></a> method <code class="docutils literal"><span class="pre">version()</span></code> didn’t work properly with the ‘mssql’ driver.</li>
<li>Fixed a bug (#4039) - <a class="reference internal" href="libraries/sessions.html"><span class="doc">Session Library</span></a> could generate multiple (redundant) warnings in case of a read failure with the ‘files’ driver, due to a bug in PHP.</li>
<li>Fixed a bug where <a class="reference internal" href="libraries/sessions.html"><span class="doc">Session Library</span></a> didn’t have proper error handling on PHP 5 (due to a PHP bug).</li>
<li>Fixed a bug (#4312) - <a class="reference internal" href="libraries/form_validation.html"><span class="doc">Form Validation Library</span></a> didn’t provide error feedback for failed validation on empty requests.</li>
<li>Fixed a bug where <a class="reference internal" href="database/index.html"><span class="doc">Database</span></a> method <cite>version()</cite> returned banner text instead of only the version number with the ‘oci8’ and ‘pdo/oci’ drivers.</li>
<li>Fixed a bug (#4331) - <a class="reference internal" href="database/index.html"><span class="doc">Database</span></a> method <code class="docutils literal"><span class="pre">error()</span></code> didn’t really work for connection errors with the ‘mysqli’ driver.</li>
<li>Fixed a bug (#4343) - <a class="reference internal" href="libraries/email.html"><span class="doc">Email Library</span></a> failing with a <em>“More than one ‘from’ person”</em> message when using <em>sendmail</em>.</li>
<li>Fixed a bug (#4350) - <a class="reference internal" href="libraries/loader.html"><span class="doc">Loader Library</span></a> method <code class="docutils literal"><span class="pre">model()</span></code> logic directly instantiated the <code class="docutils literal"><span class="pre">CI_Model</span></code> or <code class="docutils literal"><span class="pre">MY_Model</span></code> classes.</li>
<li>Fixed a bug (#4337) - <a class="reference internal" href="database/index.html"><span class="doc">Database</span></a> method <code class="docutils literal"><span class="pre">query()</span></code> didn’t return a result set for queries with the <code class="docutils literal"><span class="pre">RETURNING</span></code> statement on PostgreSQL.</li>
<li>Fixed a bug (#4362) - <a class="reference internal" href="libraries/sessions.html"><span class="doc">Session Library</span></a> doesn’t properly maintain its state after ID regeneration with the ‘redis’ and ‘memcached’ drivers on PHP 7.</li>
<li>Fixed a bug (#4349) - <a class="reference internal" href="database/index.html"><span class="doc">Database</span></a> drivers ‘mysql’, ‘mysqli’, ‘pdo/mysql’ discard other <code class="docutils literal"><span class="pre">sql_mode</span></code> flags when “stricton” is enabled.</li>
<li>Fixed a bug (#4349) - <a class="reference internal" href="database/index.html"><span class="doc">Database</span></a> drivers ‘mysql’, ‘mysqli’, ‘pdo/mysql’ don’t turn off <code class="docutils literal"><span class="pre">STRICT_TRANS_TABLES</span></code> on MySQL 5.7+ when “stricton” is disabled.</li>
<li>Fixed a bug (#4374) - <a class="reference internal" href="libraries/sessions.html"><span class="doc">Session Library</span></a> with the ‘database’ driver could be affected by userspace <a class="reference internal" href="database/query_builder.html"><span class="doc">Query Builder</span></a> conditions.</li>
</ul>
</div>
</div>
<div class="section" id="version-3-0-3">
<h2>Version 3.0.3<a class="headerlink" href="#version-3-0-3" title="Permalink to this headline">¶</a></h2>
<p>Release Date: October 31, 2015</p>
<ul class="simple">
<li><strong>Security</strong><ul>
<li>Fixed an XSS attack vector in <a class="reference internal" href="libraries/security.html"><span class="doc">Security Library</span></a> method <code class="docutils literal"><span class="pre">xss_clean()</span></code>.</li>
<li>Changed <a class="reference internal" href="libraries/config.html"><span class="doc">Config Library</span></a> method <code class="docutils literal"><span class="pre">base_url()</span></code> to fallback to <code class="docutils literal"><span class="pre">$_SERVER['SERVER_ADDR']</span></code> when <code class="docutils literal"><span class="pre">$config['base_url']</span></code> is empty in order to avoid <em>Host</em> header injections.</li>
<li>Changed <a class="reference internal" href="helpers/captcha_helper.html"><span class="doc">CAPTCHA Helper</span></a> to use the operating system’s PRNG when possible.</li>
</ul>
</li>
<li><a class="reference internal" href="database/index.html"><span class="doc">Database</span></a><ul>
<li>Optimized <a class="reference internal" href="database/utilities.html"><span class="doc">Database Utility</span></a> method <code class="docutils literal"><span class="pre">csv_from_result()</span></code> for speed with larger result sets.</li>
<li>Added proper return values to <a class="reference internal" href="database/transactions.html"><span class="doc">Database Transactions</span></a> method <code class="docutils literal"><span class="pre">trans_start()</span></code>.</li>
</ul>
</li>
</ul>
<div class="section" id="bug-fixes-for-3-0-3">
<h3>Bug fixes for 3.0.3<a class="headerlink" href="#bug-fixes-for-3-0-3" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Fixed a bug (#4170) - <a class="reference internal" href="database/index.html"><span class="doc">Database</span></a> method <code class="docutils literal"><span class="pre">insert_id()</span></code> could return an identity from the wrong scope with the ‘sqlsrv’ driver.</li>
<li>Fixed a bug (#4179) - <a class="reference internal" href="libraries/sessions.html"><span class="doc">Session Library</span></a> doesn’t properly maintain its state after ID regeneration with the ‘database’ driver on PHP 7.</li>
<li>Fixed a bug (#4173) - <a class="reference internal" href="database/forge.html"><span class="doc">Database Forge</span></a> method <code class="docutils literal"><span class="pre">add_key()</span></code> didn’t allow creation of non-PRIMARY composite keys after the “bugfix” for #3968.</li>
<li>Fixed a bug (#4171) - <a class="reference internal" href="database/transactions.html"><span class="doc">Database Transactions</span></a> didn’t work with nesting in methods <code class="docutils literal"><span class="pre">trans_begin()</span></code>, <code class="docutils literal"><span class="pre">trans_commit()</span></code>, <code class="docutils literal"><span class="pre">trans_rollback()</span></code>.</li>
<li>Fixed a bug where <a class="reference internal" href="database/transactions.html"><span class="doc">Database Transaction</span></a> methods <code class="docutils literal"><span class="pre">trans_begin()</span></code>, <code class="docutils literal"><span class="pre">trans_commit()</span></code>, <code class="docutils literal"><span class="pre">trans_rollback()</span></code> ignored failures.</li>
<li>Fixed a bug where all <a class="reference internal" href="database/transactions.html"><span class="doc">Database Transaction</span></a> methods returned TRUE while transactions are actually disabled.</li>
<li>Fixed a bug where <a class="reference internal" href="general/common_functions.html"><span class="doc">common function</span></a> <a class="reference internal" href="general/common_functions.html#html_escape" title="html_escape"><code class="xref php php-func docutils literal"><span class="pre">html_escape()</span></code></a> modified keys of its array inputs.</li>
<li>Fixed a bug (#4192) - <a class="reference internal" href="libraries/email.html"><span class="doc">Email Library</span></a> wouldn’t always have proper Quoted-printable encoding due to a bug in PHP’s own <code class="docutils literal"><span class="pre">mb_mime_encodeheader()</span></code> function.</li>
</ul>
</div>
</div>
<div class="section" id="version-3-0-2">
<h2>Version 3.0.2<a class="headerlink" href="#version-3-0-2" title="Permalink to this headline">¶</a></h2>
<p>Release Date: October 8, 2015</p>
<ul class="simple">
<li><strong>Security</strong><ul>
<li>Fixed a number of XSS attack vectors in <a class="reference internal" href="libraries/security.html"><span class="doc">Security Library</span></a> method <code class="docutils literal"><span class="pre">xss_clean()</span></code> (thanks to Frans Rosén from <a class="reference external" href="https://detectify.com/">Detectify</a>).</li>
</ul>
</li>
<li>General Changes<ul>
<li>Updated the <em>application/config/constants.php</em> file to check if constants aren’t already defined before doing that.</li>
<li>Changed <a class="reference internal" href="libraries/loader.html"><span class="doc">Loader Library</span></a> method <code class="docutils literal"><span class="pre">model()</span></code> to only apply <code class="docutils literal"><span class="pre">ucfirst()</span></code> and not <code class="docutils literal"><span class="pre">strtolower()</span></code> to the requested class name.</li>
<li>Changed <a class="reference internal" href="libraries/config.html"><span class="doc">Config Library</span></a> methods <code class="docutils literal"><span class="pre">base_url()</span></code>, <code class="docutils literal"><span class="pre">site_url()</span></code> to allow protocol-relative URLs by passing an empty string as the protocol.</li>
</ul>
</li>
</ul>
<div class="section" id="bug-fixes-for-3-0-2">
<h3>Bug fixes for 3.0.2<a class="headerlink" href="#bug-fixes-for-3-0-2" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Fixed a bug (#2284) - <a class="reference internal" href="database/index.html"><span class="doc">Database</span></a> method <code class="docutils literal"><span class="pre">protect_identifiers()</span></code> breaks when <a class="reference internal" href="database/query_builder.html"><span class="doc">Query Builder</span></a> isn’t enabled.</li>
<li>Fixed a bug (#4052) - <a class="reference internal" href="general/routing.html"><span class="doc">Routing</span></a> with anonymous functions didn’t work for routes that don’t use regular expressions.</li>
<li>Fixed a bug (#4056) - <a class="reference internal" href="libraries/input.html"><span class="doc">Input Library</span></a> method <code class="docutils literal"><span class="pre">get_request_header()</span></code> could not return a value unless <code class="docutils literal"><span class="pre">request_headers()</span></code> was called beforehand.</li>
<li>Fixed a bug where the <a class="reference internal" href="database/index.html"><span class="doc">Database Class</span></a> entered an endless loop if it fails to connect with the ‘sqlsrv’ driver.</li>
<li>Fixed a bug (#4065) - <a class="reference internal" href="database/index.html"><span class="doc">Database</span></a> method <code class="docutils literal"><span class="pre">protect_identifiers()</span></code> treats a traling space as an alias separator if the input doesn’t contain ‘ AS ‘.</li>
<li>Fixed a bug (#4066) - <a class="reference internal" href="libraries/caching.html"><span class="doc">Cache Library</span></a> couldn’t fallback to a backup driver if the primary one is Memcache(d) or Redis.</li>
<li>Fixed a bug (#4073) - <a class="reference internal" href="libraries/email.html"><span class="doc">Email Library</span></a> method <code class="docutils literal"><span class="pre">send()</span></code> could return TRUE in case of an actual failure when an SMTP command fails.</li>
<li>Fixed a bug (#4086) - <a class="reference internal" href="database/query_builder.html"><span class="doc">Query Builder</span></a> didn’t apply <em>dbprefix</em> to LIKE conditions if the pattern included spaces.</li>
<li>Fixed a bug (#4091) - <a class="reference internal" href="libraries/caching.html"><span class="doc">Cache Library</span></a> ‘file’ driver could be tricked into accepting empty cache item IDs.</li>
<li>Fixed a bug (#4093) - <a class="reference internal" href="database/query_builder.html"><span class="doc">Query Builder</span></a> modified string values containing ‘AND’, ‘OR’ while compiling WHERE conditions.</li>
<li>Fixed a bug (#4096) - <a class="reference internal" href="database/query_builder.html"><span class="doc">Query Builder</span></a> didn’t apply <em>dbprefix</em> when compiling BETWEEN conditions.</li>
<li>Fixed a bug (#4105) - <a class="reference internal" href="libraries/form_validation.html"><span class="doc">Form Validation Library</span></a> didn’t allow pipe characters inside “bracket parameters” when using a string ruleset.</li>
<li>Fixed a bug (#4109) - <a class="reference internal" href="general/routing.html"><span class="doc">Routing</span></a> to <em>default_controller</em> didn’t work when <em>enable_query_strings</em> is set to TRUE.</li>
<li>Fixed a bug (#4044) - <a class="reference internal" href="libraries/caching.html"><span class="doc">Cache Library</span></a> ‘redis’ driver didn’t catch <code class="docutils literal"><span class="pre">RedisException</span></code> that could be thrown during authentication.</li>
<li>Fixed a bug (#4120) - <a class="reference internal" href="database/index.html"><span class="doc">Database</span></a> method <code class="docutils literal"><span class="pre">error()</span></code> didn’t return error info when called after <code class="docutils literal"><span class="pre">query()</span></code> with the ‘mssql’ driver.</li>
<li>Fixed a bug (#4116) - <a class="reference internal" href="libraries/pagination.html"><span class="doc">Pagination Library</span></a> set the wrong page number on the “data-ci-pagination-page” attribute in generated links.</li>
<li>Fixed a bug where <a class="reference internal" href="libraries/pagination.html"><span class="doc">Pagination Library</span></a> added the ‘rel=”start”’ attribute to the first displayed link even if it’s not actually linking the first page.</li>
<li>Fixed a bug (#4137) - <a class="reference internal" href="general/errors.html"><span class="doc">Error Handling</span></a> breaks for the new <code class="docutils literal"><span class="pre">Error</span></code> exceptions under PHP 7.</li>
<li>Fixed a bug (#4126) - <a class="reference internal" href="libraries/form_validation.html"><span class="doc">Form Validation Library</span></a> method <code class="docutils literal"><span class="pre">reset_validation()</span></code> discarded validation rules from config files.</li>
</ul>
</div>
</div>
<div class="section" id="version-3-0-1">
<h2>Version 3.0.1<a class="headerlink" href="#version-3-0-1" title="Permalink to this headline">¶</a></h2>
<p>Release Date: August 7, 2015</p>
<ul class="simple">
<li>Core<ul>
<li>Added DoS mitigation to <a class="reference internal" href="general/compatibility_functions.html#hash_pbkdf2" title="hash_pbkdf2"><code class="xref php php-func docutils literal"><span class="pre">hash_pbkdf2()</span></code></a> <a class="reference internal" href="general/compatibility_functions.html"><span class="doc">compatibility function</span></a>.</li>
</ul>
</li>
<li>Database<ul>
<li>Added <code class="docutils literal"><span class="pre">list_fields()</span></code> support for SQLite (‘sqlite3’ and ‘pdo_sqlite’ drivers).</li>
<li>Added SSL connection support for the ‘mysqli’ and ‘pdo_mysql’ drivers.</li>
</ul>
</li>
<li>Libraries<ul>
<li><a class="reference internal" href="libraries/file_uploading.html"><span class="doc">File Uploading Library</span></a> changes:<ul>
<li>Changed method <code class="docutils literal"><span class="pre">set_error()</span></code> to accept a custom log level (defaults to ‘error’).</li>
<li>Errors “no_file_selected”, “file_partial”, “stopped_by_extension”, “no_file_types”, “invalid_filetype”, “bad_filename” are now logged at the ‘debug’ level.</li>
<li>Errors “file_exceeds_limit”, “file_exceeds_form_limit”, “invalid_filesize”, “invalid_dimensions” are now logged at the ‘info’ level.</li>
</ul>
</li>
<li>Added ‘is_resource’ to the available expectations in <a class="reference internal" href="libraries/unit_testing.html"><span class="doc">Unit Testing Library</span></a>.</li>
</ul>
</li>
<li>Helpers<ul>
<li>Added Unicode support to <a class="reference internal" href="helpers/url_helper.html"><span class="doc">URL Helper</span></a> function <a class="reference internal" href="helpers/url_helper.html#url_title" title="url_title"><code class="xref php php-func docutils literal"><span class="pre">url_title()</span></code></a>.</li>
<li>Added support for passing the “extra” parameter as an array to all <a class="reference internal" href="helpers/form_helper.html"><span class="doc">Form Helper</span></a> functions that use it.</li>
</ul>
</li>
<li>Core<ul>
<li>Added support for defining a list of specific query parameters in <code class="docutils literal"><span class="pre">$config['cache_query_string']</span></code> for the <a class="reference internal" href="libraries/output.html"><span class="doc">Output Library</span></a>.</li>
<li>Added class existence and inheritance checks to <code class="docutils literal"><span class="pre">CI_Loader::model()</span></code> in order to ease debugging in case of name collisions.</li>
</ul>
</li>
</ul>
<div class="section" id="bug-fixes-for-3-0-1">
<h3>Bug fixes for 3.0.1<a class="headerlink" href="#bug-fixes-for-3-0-1" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Fixed a bug (#3733) - Autoloading of libraries with aliases didn’t work, although it was advertised to.</li>
<li>Fixed a bug (#3744) - Redis <a class="reference internal" href="libraries/caching.html"><span class="doc">Caching</span></a> driver didn’t handle authentication failures properly.</li>
<li>Fixed a bug (#3761) - <a class="reference internal" href="helpers/url_helper.html"><span class="doc">URL Helper</span></a> function <a class="reference internal" href="helpers/url_helper.html#anchor" title="anchor"><code class="xref php php-func docutils literal"><span class="pre">anchor()</span></code></a> didn’t work with array inputs.</li>
<li>Fixed a bug (#3773) - <code class="docutils literal"><span class="pre">db_select()</span></code> didn’t work for MySQL with the PDO <a class="reference internal" href="database/index.html"><span class="doc">Database</span></a> driver.</li>
<li>Fixed a bug (#3771) - <a class="reference internal" href="libraries/form_validation.html"><span class="doc">Form Validation Library</span></a> was looking for a ‘form_validation_’ prefix when trying to translate field name labels.</li>
<li>Fixed a bug (#3787) - <a class="reference internal" href="libraries/ftp.html"><span class="doc">FTP Library</span></a> method <code class="docutils literal"><span class="pre">delete_dir()</span></code> failed when the target has subdirectories.</li>
<li>Fixed a bug (#3801) - <a class="reference internal" href="libraries/output.html"><span class="doc">Output Library</span></a> method <code class="docutils literal"><span class="pre">_display_cache()</span></code> incorrectly looked for the last modified time of a directory instead of the cache file.</li>
<li>Fixed a bug (#3816) - <a class="reference internal" href="libraries/form_validation.html"><span class="doc">Form Validation Library</span></a> treated empty string values as non-existing ones.</li>
<li>Fixed a bug (#3823) - <a class="reference internal" href="libraries/sessions.html"><span class="doc">Session Library</span></a> drivers Redis and Memcached didn’t properly handle locks that are blocking the request for more than 30 seconds.</li>
<li>Fixed a bug (#3846) - <a class="reference internal" href="libraries/image_lib.html"><span class="doc">Image Manipulation Library</span></a> method <cite>image_mirror_gd()</cite> didn’t properly initialize its variables.</li>
<li>Fixed a bug (#3854) - <cite>field_data()</cite> didn’t work properly with the Oracle (OCI8) database driver.</li>
<li>Fixed a bug in the <a class="reference internal" href="database/utilities.html"><span class="doc">Database Utility Class</span></a> method <code class="docutils literal"><span class="pre">csv_from_result()</span></code> didn’t work with a whitespace CSV delimiter.</li>