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

escapewindow / scriptworker / 3
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: fxci
DEFAULT BRANCH: master
Ran 18 Aug 2016 02:43AM UTC
Jobs 1
Files 11
Run time 0s
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
3

push

travis-ci

escapewindow
add `scriptworker.client.validate_artifact_url`.

Scriptworker and its various scripts will be given various urls to
download artifacts from.  This is beneficial, as long as we can trust
those urls.  We have some level of trust through TaskCluster scopes, but
those are not foolproof.  We need to trust but verify that the links are
not going to evil.com.

Each scriptworker instance and client script can define a whitelist of
url schemes, netlocs, and path regexes.  The regexes can define how to
read the taskId of the link, which we can validate against a whitelist
(most likely the task's parent task ids).  The regexes, if defined, must
also define a filepath, which will be returned on successful url
validation.  If the regexes are not defined, the full path is the
filepath.

On failure, validate_artifact_url will throw a
`ScriptWorkerTaskException` with `malformed-payload`.

582 of 611 relevant lines covered (95.25%)

0.95 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3.1 (NO_TESTS_OVER_WIRE=1) 18 Aug 2016 02:43AM UTC 0
95.25
Travis Job 3.1
Source Files on build 3
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3
  • 8405f65a on github
  • Next Build on relative_links (#4)
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