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

preaction / Yancy / 634 / 10
79%
master: 79%

Build:
DEFAULT BRANCH: master
Ran 18 Apr 2020 03:18PM UTC
Files 18
Run time 1s
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

18 Apr 2020 03:12PM UTC coverage: 94.973% (+0.01%) from 94.961%
COVERAGE=1

push

travis-ci

preaction
verify form has real request for csrf token

If the `form_for` helper is called with `app`
(`app->yancy->form->form_for(...)`), it will generate a new CSRF token
that will not be sent back to the user. Then when the user submits the
form, CSRF validation will fail.

Now the plugin validates that it has a real request by checking the
`remote_address` from the Mojo::Transaction object.

Additionally, you can now disable CSRF tokens in the form by using `csrf
=> 0`.

Thanks @pavelsr for reporting this issue! Fixes #95

1209 of 1273 relevant lines covered (94.97%)

244.24 hits per line

Source Files on job 634.10 (COVERAGE=1)
  • Tree
  • List 0
  • Changed 7
  • Source Changed 4
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 400
  • Travis Job 634.10
  • 1c56a63c on github
  • Prev Job for COVERAGE=1 on master (#631.10)
  • Next Job for COVERAGE=1 on master (#635.10)
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