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

mattupstate / flask-security / 828 / 1
28%
develop: 28%

Build:
DEFAULT BRANCH: develop
Ran 05 Jul 2017 07:33AM UTC
Files 20
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

05 Jul 2017 07:33AM UTC coverage: 93.942% (-0.06%) from 93.999%
REQUIREMENTS=lowest

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.

1349 of 1436 relevant lines covered (93.94%)

0.94 hits per line

Source Files on job 828.1 (REQUIREMENTS=lowest)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 828
  • Travis Job 828.1
  • 4555e42c on github
  • Prev Job for REQUIREMENTS=lowest on develop (#825.3)
  • Next Job for REQUIREMENTS=lowest on develop (#834.3)
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