issues Search Results · repo:baldowl/rack_csrf language:Ruby
Filter by
6 results
(63 ms)6 results
inbaldowl/rack_csrf (press backspace or delete to remove)Hi all,
I am trying to test a Sinatra app which has rack_csrf enabled for forms and most routes. Some routes do not have csrf
enabled, as they belong to the apps API.
Does it make any sense to test csrf ...
chriso0710
- 4
- Opened on May 18, 2017
- #13
I was wondering, is there a way to tweak the expiration of the csrf token? Or even better, generate a new random one for
each new request?
funkyboy
- 5
- Opened on Feb 3, 2016
- #12
Hi there, I m not an expert on Sinatra/Rack, but hopefully this makes sense.
When I had the below in my config.ru:
require rack/csrf
use Rack::Csrf
And this in my JS file:
$(document).ready(function(){ ...
misc
etdsoft
- 4
- Opened on Mar 18, 2014
- #10
Hi, im using rack_csrf in a web application where i have API requests that both support session and oauth2 based
authentication. My problem is that a session is created (and saved to a databased etc) even ...
enhancement
wader
- 10
- Opened on Dec 31, 2013
- #7
I just don t know why I would use this instead of rack::protection plus some helper.....you have actually written a set
of helpers before writing this, am i right ? What s your recommendation ?
misc
sonoman
- 2
- Opened on May 22, 2013
- #6
In the case of JSONP calls which can only GET, it is common to use Rack::MethodOverride or similar to turn GET into
other verbs as soon as it hits the middleware stack. In this scenario, it is not possible ...
enhancement
ghost
- Opened on Aug 29, 2011
- #1

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.