Fixed usage of lst[] in web form, now we are url-decoding the name because the [] could escaped...

Fixed bad code for assertion related to variable url-encoded name
This commit is contained in:
Jocelyn Fiat
2012-01-31 17:57:59 +01:00
parent 945ef79857
commit a1354136fa
3 changed files with 18 additions and 17 deletions

View File

@@ -92,7 +92,7 @@ feature -- Element change
add_value (a_value: WSF_VALUE; k: READABLE_STRING_32)
require
same_name: a_value.name.same_string (name)
same_name: a_value.name.same_string (name) or else (a_value.name.starts_with (name) and then a_value.name.item (name.count + 1) = '[')
do
values.force (a_value, k)
end