From 0141e08ce0c9ce628919b12938740c7a11cb3dad Mon Sep 17 00:00:00 2001
From: Vincent Pelletier <vincent@nexedi.com>
Date: Mon, 18 Sep 2006 15:57:13 +0000
Subject: [PATCH] Replace '&' in URLs by standard '&amp;'.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10109 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Form/MultiRelationField.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/product/ERP5Form/MultiRelationField.py b/product/ERP5Form/MultiRelationField.py
index 9714f01cf4..674be329f4 100644
--- a/product/ERP5Form/MultiRelationField.py
+++ b/product/ERP5Form/MultiRelationField.py
@@ -337,12 +337,12 @@ class MultiRelationStringFieldWidget(Widget.LinesTextAreaWidget,
        (field.get_value('allow_jump') == 1):
       # Keep the selection name in the URL
       if REQUEST.get('selection_name') is not None:
-        selection_name_html = '&selection_name=%s&selection_index=%s' % \
+        selection_name_html = '&amp;selection_name=%s&amp;selection_index=%s' % \
               (REQUEST.get('selection_name'), REQUEST.get('selection_index'))
       else:
         selection_name_html = ''
       # Generate plan link
-      html_string += '<a href="%s/%s?field_id=%s&form_id=%s%s">' \
+      html_string += '<a href="%s/%s?field_id=%s&amp;form_id=%s%s">' \
                        '<img src="%s/images/jump.png" />' \
                      '</a>' % \
                 (here.absolute_url(), 
-- 
2.30.9