") -- or "
e.g. try to evaluate this script in qconsole:
fn.contains("text"," ) -- or ");
You can add any prefix and suffix to the second parameter, it always fail with ‘Connection was reset’ information, no matter how I invoke it, in qconsole, or by REST API
Can it be some sort of ‘code injection’ that breaks some internals? After that invocation I even could not find any entries in MarkLogic log regarding my calls.
This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.