fix: change >
char in favor of .
in linked_drop_column.column_id
Rails `'>'.to_json` produce `\u003e` because of an html entity escaping system to work around some bugs in browser (see dd8f7185fa/activesupport/lib/active_support/json/encoding.rb (L43)
)
But our waf dislike `\u003e` and reject xhr request with such char
This commit is contained in:
parent
c65fcf0a29
commit
fa64e8f112
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ class Columns::LinkedDropDownColumn < Columns::ChampColumn
|
|||
|
||||
private
|
||||
|
||||
def column_id = "type_de_champ/#{stable_id}->#{path}"
|
||||
def column_id = "type_de_champ/#{stable_id}.#{path}"
|
||||
|
||||
def typed_value(champ)
|
||||
primary_value, secondary_value = unpack_values(champ.value)
|
||||
|
|
Loading…
Reference in a new issue