Open dreamsbond opened 6 years ago
Validation rule asSanitizedString
is defined here and does 2 things: firstly it checks input is a string and then applies filter_var with FILTER_SANITIZE_FULL_SPECIAL_CHARS
If you have #something
as an input for ATTR_NAME
it passes unchanged
$foo = filter_var('#something', FILTER_SANITIZE_FULL_SPECIAL_CHARS);
// $foo === '#something'
What I can see from the error stack is that builder tries to read an input value for =/eq/equals
operation and throws an exception from here which means you don't have actual input.
Can you please check you have a valid input and if you think so post it here?
with Schema::REL_NAME assigned to getFilterRules which come with r::asSantizedString();
I found if i try invalid to test validation, like with "#" as prefix, the validation throws