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

tf / pageflow / 2219
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: actions
DEFAULT BRANCH: master
Ran 23 Jul 2019 04:54PM UTC
Jobs 2
Files 0
Run time –
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
2219

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.

It will be a good idea for the host application to use use HTTPS
protocols instead of protocol relative URLs to prevent extra redirect,
but still this change ensure Pageflow at least works in this case.

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