[Tickets #4619] maintenance url encoded twice

bugs@bugs.horde.org bugs at bugs.horde.org
Fri Nov 3 13:01:01 PST 2006


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

Ticket URL: http://bugs.horde.org/ticket/?id=4619
-----------------------------------------------------------------------
 Ticket             | 4619
 Created By         | reitsma at denison.edu
 Summary            | maintenance url encoded twice
 Queue              | Horde Framework Packages
 Version            | FRAMEWORK_3
 Type               | Bug
 State              | Unconfirmed
 Priority           | 2. Medium
 Owners             | 
-----------------------------------------------------------------------


reitsma at denison.edu (2006-11-03 13:01) wrote:

When we log our users into IMP via a uPortal channel the action url in the
"Mail Maintenance Operations - Confirmation" page displays &
between variables. The result is never being able to leave the
confirmation page. Refreshing the page is one workaround.

* $Horde: horde/services/maintenance.php,v 1.39 2006/03/13 06:13:43
slusarz Exp $

Decoding before encoding fixes the problem:
[root at mailtest services]# diff maintenance.php.061103 maintenance.php
81c81
< $template->set('maint_url',
htmlspecialchars($maint->getMaintenanceFormURL()));
---
> $template->set('maint_url',
htmlspecialchars(html_entity_decode(($maint->getMaintenanceFormURL()))));

requires PHP 4.3.0 or higher.





More information about the bugs mailing list