Restricted characters are not displaying properly in validating message.
Added following restricted character "@, test" in configuration form and checked comma to blacklist checkbox, but its showing validation message only for "@, ," while creating node title "test article @, user".


Expected result:
The validation message should display all the blacklisted items like "@, ,, test" in validation message.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | interdiff-2958723-4-7.txt | 1.07 KB | mashir |
| #7 | restricted_characters-2958723-7.patch | 1.39 KB | mashir |
| #4 | restricted_characters-2958723-4.patch | 1.21 KB | mashir |
| validation_message.png | 18.38 KB | mashir | |
| title_validate_config.png | 33.68 KB | mashir |
Comments
Comment #2
mashir commentedComment #3
mashir commentedComment #4
mashir commentedPatch attached.
Comment #5
mashir commentedComment #6
neeraprajapati commentedHello @mashir,
I have applied patch and found following unexpected result with given string:
String: abc @ xyz, mno
Result error: This characters/words are not allowed to enter in the title. - @, ,, @
And restricted comma charactor in error message is showing little bit confusing, so it will be better to use bold tag with these blacklisted values.
so the result should be like @, ,
Comment #7
mashir commented@neeraprajapati, thank you for reviewing the patch and testing the functionality as well. Attaching a new patch, which will solve the issue and an interdiff.txt as well.
Comment #8
neeraprajapati commentedLooks good.
Comment #10
mahaveer003 commentedThanks a lot for giving patch and doing RTBC. Patch changes pushed to dev version.