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

hypothesis / h / 7425
64%
master: 97%

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

pending completion
7425

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

Jobs
ID Job ID Ran Files Coverage
1 7425.1 05 Aug 2015 01:48PM UTC 0
63.71
Travis Job 7425.1
Source Files on build 7425
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7425
  • 295b2d56 on github
  • Prev Build on uri-normalisation (#7332)
  • Next Build on uri-normalisation (#7432)
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