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

fredbi / uri / 6212441455
98%
master: 89%

Build:
Build:
LAST BUILD BRANCH: doc/fix-typos
DEFAULT BRANCH: master
Ran 17 Sep 2023 08:07AM UTC
Jobs 2
Files 3
Run time 1s
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

17 Sep 2023 08:07AM UTC coverage: 97.767% (-1.6%) from 99.374%
6212441455

push

github

fredbi
enhancement: replaces regular expressions by explicit parsing following
the RFC grammar.

Replaced IPv6 parsing by standard lib functionality.

Overall, the benchmark shows a speed improvement of x5 when compared to
v0.1. This is still 2x slower than URL parsing with the standard libary.

This PR fixes a few strictness issues:
* identifies wrong URIs with empty authority and path starting with a
double '/'
* identifies invalid IPv6 addresses with an empty zone
* strictier check of DNS names
* strictier check of URL-encoded escape sequences
* allow escape sequences in IP addresses
* strictly follows the RFC rule: "if not a valid IP, then consider a
registered name": hence
* strictier IP kind distinction: IPv6 must be between [], IPv4 must not

Signed-off-by: Frédéric BIDON <fredbi@yahoo.com>

184 of 184 new or added lines in 1 file covered. (100.0%)

613 of 627 relevant lines covered (97.77%)

126.22 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6212441455.1 17 Sep 2023 08:07AM UTC 0
97.77
GitHub Action Run
2 6212441455.2 17 Sep 2023 08:07AM UTC 0
97.77
GitHub Action Run
Source Files on build 6212441455
Detailed source file information is not available for this build.
  • Back to Repo
  • 59cce3dc on github
  • Prev Build on master (#6212103685)
  • Next Build on fix-reduce-regexps (#6212453522)
  • Delete
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