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

hypothesis / h / 8863
97%

Build:
DEFAULT BRANCH: master
Ran 28 Oct 2015 09:46PM UTC
Jobs 1
Files 87
Run time 13s
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
8863

push

travis-ci

nickstenning
Encode semicolons in query parameters

Angular 1.4.x introduced a breaking change (undocumented in the
upgrading guide as far as I can tell) to the way URL query parameters
are handled in ajax requests.

Specifically, semicolons in query parameter values are no longer encoded
by default. This causes problems for us in request urls such as

    /api/search?uri=http:%2F%2Fexample.com/?id=4;display=print

because Pyramid interprets the semicolon (correctly according to
RFC3986) as a query string delimiter.

This commit fixes the issue by overriding the default parameter
serializer (although only for the ngResource objects in the store
service) with a much more conservative one that encodes everything with
`encodeURIComponent`.

The bulk of the code here is a slightly modified version of the default
serializer used by Angular.

2578 of 3724 relevant lines covered (69.23%)

0.69 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8863.1 28 Oct 2015 09:46PM UTC 0
69.23
Travis Job 8863.1
Source Files on build 8863
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #8863
  • 65131842 on github
  • Prev Build on master (#8858)
  • Next Build on master (#8864)
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