Red Hat Bugzilla – Bug 1009079
Guided rule editor does not escape bad characters
Last modified: 2016-07-31 21:08:24 EDT
Created attachment 798871 [details]
Description of problem:
Bad characters are not escaped in the guided rule editor: " and \ can seriously corrupt the rule.
Created attachment 798872 [details]
corrupted rule - source
First, not allowing users to compare text fields (String attributes) using these characters (", \) is not a good solution. User now cannot type these chars into the input field. Please fix this.
Second, it is possible to do a copy&paste and if you add these character this way, they are still not escaped. Please, fix that as well.
User can now type anything and we escape the characters for the DRL source.
Link to the original fix. Just a reminder.