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

mysociety / yournextrepresentative / 677
51%

Build:
DEFAULT BRANCH: master
Ran 31 Mar 2015 09:30AM UTC
Jobs 1
Files 120
Run time 27s
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
677

push

travis-ci

mhl
Don't set the csrftoken cookie from the front page

Having {% csrf_token %} in a template causes a cookie to be set when
viewing that page, which will mean pages of the site won't be cached
across different anonymous users because of Vary: Cookie header.

One option would be to change the postcode and constituency lookup
forms to have action="get" and leave out the CSRF token, but this
would mean some slightly complicated changes to the class-based
views; it's easiest just to exempt those views from CSRF protection
and remove the {% csrf_token %}.  (This shouldn't have any security
implication for these views, since they're just looking up public
information.)

2529 of 3618 relevant lines covered (69.9%)

0.7 hits per line

Jobs
ID Job ID Ran Files Coverage
1 677.1 31 Mar 2015 09:30AM UTC 0
69.9
Travis Job 677.1
Source Files on build 677
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #677
  • ae7a452e on github
  • Prev Build on master (#672)
  • Next Build on master (#678)
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