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

mattupstate / flask-security / 828
28%

Build:
DEFAULT BRANCH: develop
Ran 05 Jul 2017 07:33AM UTC
Jobs 6
Files 20
Run time 8min
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
828

push

travis-ci

Jiri Kuncar
Fix referrer loop in _get_unauthorized_view().

_get_unauthorized_view() is blindly trying to redirect to the referrer,
without checking if we came from there in the first place. This change
avoids the loops that result from that, by redirecting to `/` if we just
came from the referrer.

A unit test is also provided.

Without this change, the end result is that the browser enters into a
redirect loop, until eventually it goes to the correct place (I haven't
figured out how many; in production we've seen 10s, but in the provided
unit test it only happened 3 times). It also results in multiple
flash messages being printed once the final page is loaded.

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

1349 of 1436 relevant lines covered (93.94%)

5.63 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
flask_security/decorators.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
flask_security/decorators.py
Jobs
ID Job ID Ran Files Coverage
1 828.1 (REQUIREMENTS=lowest) 05 Jul 2017 07:33AM UTC 0
93.94
Travis Job 828.1
2 828.2 (REQUIREMENTS=release) 05 Jul 2017 07:34AM UTC 0
93.66
Travis Job 828.2
3 828.3 (REQUIREMENTS=lowest) 05 Jul 2017 07:34AM UTC 0
93.94
Travis Job 828.3
4 828.4 (REQUIREMENTS=release) 05 Jul 2017 07:35AM UTC 0
93.66
Travis Job 828.4
5 828.5 (REQUIREMENTS=lowest) 05 Jul 2017 07:34AM UTC 0
93.94
Travis Job 828.5
6 828.6 (REQUIREMENTS=release) 05 Jul 2017 07:42AM UTC 0
93.66
Travis Job 828.6
Source Files on build 828
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #828
  • 4555e42c on github
  • Prev Build on develop (#825)
  • Next Build on develop (#834)
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