6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/20/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#4645] addParameter() adds additional characters to the URL
*
Your Email Address
*
Spam protection
Enter the letters below:
.___.. .._..__ \ / | |\/| | [__) >< | | |_|_[__)/ \
Comment
> The Horde_Form::addParameter add some extra characters to the URL > when it is generated. > > Steps to reproduce: > > Define a class inherited from Horde_Form and instantiate the class. > Add the parameters like this: > > $form = &new EmpDocument_Form($variables, "Add Documents") > > $renderer = &$form->getRenderer(); > > $main_url = Horde::applicationUrl('editemployee.php'); > > $edit_url = Util::addParameter($main_url, array('action' => > 'add_doc', 'emp_id'=> $emp_id)); > > $form->renderActive($renderer, $variables, $edit_url, 'post'); > > > > But when the HTML form is generated it adds some extra characters > like "amp;" to the URL. Here is the complete URL copied from the > "View Source" of the browser. > > > > Browser: Firefox-2.0 > > PHP-5.1.4 > > Horde-3.2CVS > > > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers