[Tickets #5837] Form confirmation code wrong in admin/groups.php

bugs at bugs.horde.org bugs at bugs.horde.org
Fri Oct 26 11:29:28 UTC 2007


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

Ticket URL: http://bugs.horde.org/ticket/?id=5837
-----------------------------------------------------------------------
 Ticket             | 5837
 Created By         | asmarre at ull.es
 Summary            | Form confirmation code wrong in admin/groups.php
 Queue              | Horde Framework Packages
 Version            | FRAMEWORK_3
 Type               | Bug
 State              | Unconfirmed
 Priority           | 2. Medium
 Owners             | 
-----------------------------------------------------------------------


asmarre at ull.es (2007-10-26 04:29) wrote:

In line 76 of admin/groups.php an if tries to check if the user has
confirmed the deletion of a group. In case of using localization (Spanish
in my case), the check fails because the getFormData returns a string like
' Eliminar ' and the _() method returns a string like
' Eliminar '. It seems that the browser substitutes the  
entities for ' ' character. I hard-coded a solution based in strpos but
it's not generic because depends of the localization.

I found this problem in the latest stable version of Horde (3.1.5).



More information about the bugs mailing list