• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

opentrials / opentrials / 271
100%

Build:
DEFAULT BRANCH: master
Ran 07 Jun 2016 08:22AM UTC
Jobs 1
Files 40
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
271

push

travis-ci

vitorbaptista
[#170] Escape queries to ElasticSearch

As we're using ES' query strings, we need to escape the values we send through
to make sure we don't end up sending some invalid queries (like "foo("). Most
of the sanitization code comes from
https://github.com/lanetix/node-elasticsearch-sanitize/. I couldn't use their
package directly because they also escape whitespaces and other things (e.g.
OR, AND, NOT), which we don't want. The code is trivial, though, so no big
deal.

514 of 514 relevant lines covered (100.0%)

13.29 hits per line

Jobs
ID Job ID Ran Files Coverage
1 271.1 07 Jun 2016 08:22AM UTC 0
100.0
Travis Job 271.1
Source Files on build 271
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #271
  • 91090f1c on github
  • Prev Build on master (#268)
  • Next Build on master (#274)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc