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

tf / pageflow / 2218
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: actions
DEFAULT BRANCH: master
Ran 23 Jul 2019 04:52PM UTC
Jobs 2
Files 434
Run time 1min
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
2218

push

travis-ci

tf
Support CDN that redirects to HTTPS

Previously, when using protocol relative URLs for paperclip and
zencoder attachments, HTTP was used as default protocol in social
share meta tag image URLs and when downloading thumbnails and posters
generated by Zencoder.

Also HTTPS URLs were actively rewritten to HTTP due to some cargo
culted workaround for a problem where Facebook had problems with HTTPS
urls.

In both cases a redirect to HTTPS served by the CDN caused problems:

* Facebook does not appear to follow redirects and instead complains
  about invalid content type.

* `open-uri` which is used by Paperclip to perform the image download
  also does not follow redirects. Video Files stay in `encoding` state
  forever since `PollZencoderJob` assumes thumbnails are not there
  yet.

It should be safe to assume that the CDN supports HTTPS if protocol
relative URLs were configured in the first place. We therefore use
HTTPS as default protocol to solve the issue.

There is a third place that supplies HTTP as default protocol: URLs in
SMIL files used to have Akamai generate HLS files (see
`ZencoderVideoOutputDefinition`). Since the known Akamai setups using
this option do not redirect to HTTPS, the default protocol was left
unchanged to prevent regressions.

REDMINE-16967

15998 of 16111 relevant lines covered (99.3%)

59.56 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2218.1 (2.3.1, PUBLISH_THEME_DOC=true COVERALLS_PARALLEL=true) 23 Jul 2019 04:53PM UTC 0
99.28
Travis Job 2218.1
2 2218.2 (2.5.3, PUBLISH_THEME_DOC=true COVERALLS_PARALLEL=true) 23 Jul 2019 04:52PM UTC 0
99.28
Travis Job 2218.2
Source Files on build 2218
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2218
  • 54c7cb44 on github
  • Prev Build on cdn-https-redirect (#2217)
  • Next Build on cdn-https-redirect (#2219)
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