[Tickets #1622] Allow custom error messages from pre/post auth hooks

bugs at bugs.horde.org bugs at bugs.horde.org
Tue Mar 29 12:39:40 PST 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=1622
-----------------------------------------------------------------------
 Ticket             | 1622
 Updated By         | eli at experthost.com
 Summary            | Allow custom error messages from pre/post auth hooks
 Queue              | Horde Base
 Version            | 3.0.3
 State              | Assigned
 Priority           | 1. Low
 Type               | Enhancement
 Owners             | Horde Developers
+New Attachment     | nicer.patch
-----------------------------------------------------------------------


eli at experthost.com (2005-03-29 12:39) wrote:

Here's a slightly nicer version.  I added an abstraction function to get the
current error type and return it if any (false otherwise - maybe NULL might
be better since you return a string type rather than an integer type).

Word of caution - I have noticed that IE does not like more than 165
characters in a URL when handing a Refresh: header - thus there is a good
chance that using this patch will cause IMP to hang on redirect.php rather
than properly display the custom error message.  This doesn't happen in
FireFox though.




More information about the bugs mailing list