X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=lib%2FZOOM%2FIRSpy%2FUtils.pm;h=0583662150e0b055de3d304231778708cac7704a;hb=32f8933db25356a6d5c742530e70c7b4ae4f97e2;hp=53e53fc033060711888dcf04c922243958eb48c3;hpb=a9264efe4efe3c63cbeda1b481e98a5a149c9f1c;p=irspy-moved-to-github.git diff --git a/lib/ZOOM/IRSpy/Utils.pm b/lib/ZOOM/IRSpy/Utils.pm index 53e53fc..0583662 100644 --- a/lib/ZOOM/IRSpy/Utils.pm +++ b/lib/ZOOM/IRSpy/Utils.pm @@ -163,7 +163,7 @@ sub cql_quote { my($term) = @_; $term =~ s/([""\\*?])/\\$1/g; - $term = qq["$term"] if $term =~ /[\s""\/]/; + $term = qq["$term"] if $term =~ /[\s""\/\\]/; return $term; } @@ -180,8 +180,7 @@ sub cql_target { $id = $protocol; } - return "rec.id=" . cql_quote($id); - #return "rec.id_raw=" . cql_quote($id); + return "rec.id==" . cql_quote($id); }