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

wikimedia / parsoid / 618
85%

Build:
DEFAULT BRANCH: master
Ran 19 Aug 2015 08:13PM UTC
Jobs 4
Files 71
Run time 6min
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
618

push

travis-ci

C. Scott Ananian
Bracketed links must also have at least one character after the protocol.

The regexp in Parser.php is:

$this->mExtLinkBracketedRegex = '/\[(((?i)' . $this->mUrlProtocols . ')' .
    self::EXT_LINK_URL_CLASS . '+)\p{Zs}*

This is after template expansion, of course, so we need to be a little
more careful in our tokenizer.  But we can still enforce the "at least
one character after protocol" rule.

Also tweak how this rule is enforced in the general URL tokenizer.
We were inadvertently disallowing "http://192.168.0.1" as valid URL
since we were incorrectly enforcing "one character of path" and ignoring
the address portion.  Now the address counts toward the post-protocol
characters.

Related to I5d728e6ac (although that
dealt with autolinks).

This exposes a few more IPv6 parsing bugs (T23261) on the blacklist,
in sometimes surprising ways.  Generally we truncate URLs at the
open bracket so http://[abcd] used to be "valid" despite it parsing
as a bare protocol ("http://").  Now these are generally invalid,
causing blacklist additions.

Change-Id: Id83841ff6

11832 of 13849 relevant lines covered (85.44%)

83732.18 hits per line

Jobs
ID Job ID Ran Files Coverage
1 618.1 19 Aug 2015 08:15PM UTC 0
85.44
Travis Job 618.1
2 618.2 19 Aug 2015 08:13PM UTC 0
85.44
Travis Job 618.2
3 618.3 19 Aug 2015 08:13PM UTC 0
85.43
Travis Job 618.3
4 618.4 19 Aug 2015 08:19PM UTC 0
85.43
Travis Job 618.4
Source Files on build 618
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #618
  • f64c149c on github
  • Prev Build on master (#617)
  • Next Build on master (#619)
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