Bug 11217: The # in accountlines descriptions makes them un-writeoffable
This patch adds escaping to url params in mambers/pay.pl To test: - Apply patch - Go to Home > Patrons > Manual invoice and create an invoice with a description containing a # - Go to tab "Pay fines" - Write off the fine Expected result: Fine is written off and does no longer display in pay tab. Signed-off-by: Claire Gravely <claire_gravely@hotmail.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com> (cherry picked from commit692014c817) Signed-off-by: Frédéric Demians <f.demians@tamil.fr> (cherry picked from commitff2b5116e9) Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
This commit is contained in:
parent
3b407e3ecd
commit
8049ea6ccd
|
|
@ -172,8 +172,8 @@ sub redirect_to_paycollect {
|
|||
$redirect .= get_for_redirect( 'amount', "amount$line_no", 1 );
|
||||
$redirect .=
|
||||
get_for_redirect( 'amountoutstanding', "amountoutstanding$line_no", 1 );
|
||||
$redirect .= get_for_redirect( 'description', "description$line_no", 0 );
|
||||
$redirect .= get_for_redirect( 'title', "title$line_no", 0 );
|
||||
$redirect .= uri_escape_utf8( get_for_redirect( 'description', "description$line_no", 0 ) );
|
||||
$redirect .= uri_escape_utf8( get_for_redirect( 'title', "title$line_no", 0 ) );
|
||||
$redirect .= get_for_redirect( 'itemnumber', "itemnumber$line_no", 0 );
|
||||
$redirect .= get_for_redirect( 'notify_id', "notify_id$line_no", 0 );
|
||||
$redirect .= get_for_redirect( 'notify_level', "notify_level$line_no", 0 );
|
||||
|
|
|
|||
Loading…
Reference in New Issue