customerror 5.x-1.2
Official release from CVS tag: DRUPAL-5--1-2
First released: March 22, 2009 - 20:33
First released: March 22, 2009 - 20:33
Download: customerror-5.x-1.2.tar.gz
Size: 11.01 KB
md5_file hash: b530fbd12cd2dba8aad583ca3424297d
Last updated: March 22, 2009 - 20:35
View usage statistics for this releaseSize: 11.01 KB
md5_file hash: b530fbd12cd2dba8aad583ca3424297d
Last updated: March 22, 2009 - 20:35
Changes since DRUPAL-5--1-1:
- #114644 Fixing minor errors, by geodaniel
- #127100 admin/module#description is not needed, by forngren
- #129585 Eliminate the need to patch code.
- Now there is REALLY no need to patch code in order for this module to work.
If you get a 403, then you login, you will be redirected to the page you
were trying to access. - Removing unneeded patch files.
Corrected the INSTALL documentation. - #152819: Module .info files should not define 'version' in CVS
- - Added the ability to list redirects for 404s. There is a textarea in settings
that you specify a regexp and destination pairs, one per line, separated by
a space. customerror now checks these regexps to see if one matches the page
the user has been trying to reach, and then redirects to the destination setup
by the site admin. The advantage is that we do not have to fiddle with .htaccess
and change it every time we upgrade. The disadvantage is that this incurs some
overhead since it causes a Drupal bootstrap for each such request. In the end
the user experience is better. The code works, but may need a regexp guru
to optimize it.
- Fixed old style % in t() replacing them by @. - - Added the ability to list redirects for 404s. There is a textarea in settings
that you specify a regexp and destination pairs, one per line, separated by
a space. customerror now checks these regexps to see if one matches the page
the user has been trying to reach, and then redirects to the destination setup
by the site admin. The advantage is that we do not have to fiddle with .htaccess
and change it every time we upgrade. The disadvantage is that this incurs some
overhead since it causes a Drupal bootstrap for each such request. In the end
the user experience is better. The code works, but may need a regexp guru
to optimize it.
- Fixed old style % in t() replacing them by @. - #204246 by geodaniel, adding simpletest for page not found.
- #274526 Correctly document the settings in INSTALL.txt
- #304598 by scafmac, modified by kbahey, cleanup of admin page.
- #307288 Fix for php notice.
Refactored some sections of the code, making it simpler.
Rolled INSTALL.txt into README.txt.
Adding warning when Error reporting is not set to customerror codes. - #317398 by deviantintegral, allow search form to work with 403/404 errors.
- Added recipe for 403 redirect.
- #405822 Was not sending 403/404 HTTP code in the headers
