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

lepture / flask-wtf / 180 / 4
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 13 Feb 2015 05:30PM UTC
Files 11
Run time 10s
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

13 Feb 2015 05:28PM UTC coverage: 90.727% (-0.3%) from 91.049%
180.4

Pull #169

travis-ci

nfvs
Abstract protect_csrf() into a separate method.

Right now, CsrfProtect._csrf_protect() does 1) check if this view should
be checked for a CSRF token, and 2) validate the actual token.

This commit abstracts 2) into a separate method so we can manually call
this method (for example on a before_request callback). This makes it
possible to do further checks before validating the CSRF (e.g. skip the
check for REST calls using OAuth).

This commit also adds a configuration parameter WTF_CSRF_CHECK_DEFAULT,
which will determine whether to check all views by default or not. It
defaults to True.
Pull Request #169: Abstract _csrf_protect() into a separate method.

362 of 399 relevant lines covered (90.73%)

0.91 hits per line

Source Files on job 180.4
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 180
  • Travis Job 180.4
  • 0196ca4e on github
  • Prev Job for on master (#178.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