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

hypothesis / h / 7425 / 1
64%
master: 97%

Build:
Build:
LAST BUILD BRANCH: realtime-update-v1-h-only-1
DEFAULT BRANCH: master
Ran 05 Aug 2015 01:48PM UTC
Files 77
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

05 Aug 2015 01:36PM UTC coverage: 63.713% (+1.0%) from 62.746%
7425.1

push

travis-ci

nickstenning
URI normalisation: normalise percent-encoding

Normalise percent-encoding of paths and query strings as dictated by
RFC3986.

Paths and query strings can both contain [percent-encoded][1] character
data. Percent-encoding is a way to include  in URLs (and URIs more
generally) certain characters which may have semantic meaning in a URL
(such as "/" in a URL path), or which may simply not be permitted (such
as literal UTF-8 characters).

Sometimes these percent-encodings must be preserved -- percent-encoded
UTF-8 unicode, for example. But sometimes URLs that differ only in
percent-encoding can (according to RFC3986) be considered the same. To
pick one example, "-" (hyphen) is an "unreserved character", so:

    http://example.com/foo-bar, AND
    http://example.com/foo%2Dbar

can be considered the same. In addition, case in percent encodings does
not carry information, so

    http://example.com/foo%2dbar, AND
    http://example.com/foo%2Dbar

are also the same URL.

This commit adds support for normalising percent-encoding of URL paths
and query strings.

[1]: https://en.wikipedia.org/wiki/Percent-encoding

2114 of 3318 relevant lines covered (63.71%)

0.64 hits per line

Source Files on job 7425.1
  • Tree
  • List 0
  • Changed 16
  • Source Changed 16
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 7425
  • Travis Job 7425.1
  • 295b2d56 on github
  • Prev Job for on uri-normalisation (#7332.1)
  • Next Job for on uri-normalisation (#7432.1)
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