HCL-TECH-SOFTWARE / domino-jnx

Modern Domino Java API based on JNA access to Domino's C API
https://opensource.hcltechsw.com/domino-jnx/
Apache License 2.0
15 stars 3 forks source link

DQL: Formula escaping errantly uses '' instead of \' #326

Closed jesse-gallagher closed 1 year ago

jesse-gallagher commented 2 years ago

Though a literal ' in a DQL string should be escaped as '', the rules are actually C-style inside the @formula function. For example, the formula @Begins(FirstName; "Fo'") should be written in DQL like @formula('@Begins(FirstName; "Fo\'")').