📜 ⬆️ ⬇️

CodeIgniter 1.7.1

A new version of the popular PHP framework CodeIgniter 1.7.1 has been released.



Libraries


- Fixed a vulnerability in the Form Validation library (# 6068, thanks to hkk).
- The library Pagination is now used <strong> instead of <b>.
- In the presence of forbidden characters in the URL, the "HTTP / 1.1 400 Bad Request" is now given.
- Added <big>, <small>, <q> and <tt> to Typography.
- More detailed error messages in the Email library when using sendmail.
- Removed type checking in the rotate () method of the Image Manipulation class.
- More detailed error checking when saving files using the Image library when using GD.
- For compatibility with a large number of mail programs, a separator has been added between multipart and MIME text.
- Improved explode_name () in the Image library.
')

Database


- Added where_in processing when executing delete ().

Helpers


- Added the ability to include optgroup in the form_dropdown () form helper.
- Added doctype () method to HTML helper.
- Added ability to lower case in url_title () URL helper.
- Changed the default type for form_button (): "submit" to "button" in the form helper.
- redirect () allows you to redirect outside the site.
- get_cookie () now tries to use the global prefix if the requested name does not exist.

miscellanea


- Improved xss_clean () security (Internet Explorer).
- Added 'application / msexcel' type to .xls in config / mimes.php.
- Added the configuration parameter 'proxy_ips' to indicate allowed reverse proxy, the HTTP_X_FORWARDED_FOR header can be considered reliable in terms of determining IP.
- Upload :: is_allowed_filetype () is more accurate when working with images (# 6715).

Corrected mistakes

Database


- 'random' + order_by () (# 5706).
- Creating a primary key with Forge (# 5731).
- Caching on multiple databases (# 5737).
- TRUNCATE was not considered a query that writes data (# 6619).
- Complex expressions, such as SUM () + prefixes.

miscellanea


- csv_from_result () used a nonexistent method.
- _protect_identifiers () removed the characters "|".
- Corrections in the manual (# 5998, # 6093, # 6259, # 6339, # 6432, # 6521).
- MySQLi driver + unspecified port.
- # 5702: in the validation errors, the field name was used instead of the header.
- Identifiers were not escaped properly when using reserved characters.
- Auto typography: tag escaping <p>.
- Auto typography: - changed to a dash inside tag attributes.
- Auto typography: double spaces inside tag attributes converted to.
- Typography :: format_characters (). Errors when processing quotes.
- Fixed some phpDoc comments in accordance with the current code.
- Some ascii characters in the headers of the letters subject and from.
- xss_clean () ate spaces after a validated character.
- HTML comments and <pre> tags were processed by Typography :: auto_typography ().
- Typography :: auto_typography () removed non-breaking spaces.
- Typography: Opening quote + <p> + scoop another tag.
- Text helper Text: word_censor () did not work with some locales where words begin or end with an accent.
- Helper Text: word limiter cut off the last word of the line.
- # 6342: plural () in the Inflection + helper words ending in "y".
- # 6517: URI :: rsegment () returned invalid segments for the controller by default.
- # 6706: the outdated second argument was used in xss_clean ().
- In url_title () the trailing dots in the URL were resolved.
- # 6669: Email Library. CRLF + headers when using the "mail" protocol.
- # 6500: URI :: A_filter_uri () suppressed the error instead of showing it.
- # 6592: The file helper get_dir_file_info () method worked incorrectly with recursion.
- Improved Typography :: auto_typography ().

Updated

Source: https://habr.com/ru/post/51697/


All Articles