angular_rails_csrf 4.0.1 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +17 -3
- data/lib/angular_rails_csrf/concern.rb +8 -2
- data/lib/angular_rails_csrf/version.rb +1 -1
- data/test/angular_rails_csrf_test.rb +28 -7
- data/test/dummy/log/test.log +22 -641
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb986857041fa113b693338d3cc6522f6c1326ac305b766b87be1def7486a181
|
4
|
+
data.tar.gz: e654cf89758e0c5ff1ea4cea3f3cf72f192020fedbf0e1d7e8d330981df5c275
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23f590d6e1529e5e87a771a19db9d111fde87c860394875eb03c1e7af5b25c9ad21a4b508d8951cb2bd6f0fa18899b6297ba6281acdfc42a54d354147027412f
|
7
|
+
data.tar.gz: e724f90adc748adedbc58514d466f911ce840d47863d4287e27b74cb1d04a17dfe9599ad547366d0b98dfa8d5f57f31422c329434fa4728d456b4077106e9b64
|
data/README.md
CHANGED
@@ -10,7 +10,7 @@ This project adds direct support for this scheme to your Rails application witho
|
|
10
10
|
|
11
11
|
Note that there is nothing AngularJS specific here, and this will work with any other front-end that implements the same scheme.
|
12
12
|
|
13
|
-
Check [version compatibility](https://github.com/jsanders/angular_rails_csrf/wiki/Version-
|
13
|
+
Check [version compatibility](https://github.com/jsanders/angular_rails_csrf/wiki/Version-Compatibility) to learn which Rails/Rubies are currently supported.
|
14
14
|
|
15
15
|
## Installation
|
16
16
|
|
@@ -52,6 +52,20 @@ end
|
|
52
52
|
|
53
53
|
If `angular_rails_csrf_domain` is not set, it defaults to `nil`.
|
54
54
|
|
55
|
+
### Secure Cookie
|
56
|
+
|
57
|
+
To set a "secure" flag for the cookie, set the `angular_rails_csrf_secure` option to `true`:
|
58
|
+
|
59
|
+
```ruby
|
60
|
+
# application.rb
|
61
|
+
class Application < Rails::Application
|
62
|
+
#...
|
63
|
+
config.angular_rails_csrf_secure = true
|
64
|
+
end
|
65
|
+
```
|
66
|
+
|
67
|
+
`angular_rails_csrf_secure` defaults to `false`.
|
68
|
+
|
55
69
|
### Exclusions
|
56
70
|
|
57
71
|
Sometimes you will want to skip setting the XSRF token for certain controllers (for example, when using SSE or ActionCable, as discussed [here](https://github.com/jsanders/angular_rails_csrf/issues/7)):
|
@@ -59,7 +73,7 @@ Sometimes you will want to skip setting the XSRF token for certain controllers (
|
|
59
73
|
```ruby
|
60
74
|
class ExclusionsController < ApplicationController
|
61
75
|
exclude_xsrf_token_cookie
|
62
|
-
|
76
|
+
|
63
77
|
# your actions here...
|
64
78
|
end
|
65
79
|
```
|
@@ -78,6 +92,6 @@ and then
|
|
78
92
|
$ rake test
|
79
93
|
```
|
80
94
|
|
81
|
-
## License
|
95
|
+
## License
|
82
96
|
|
83
97
|
Licensed under the [MIT License](https://github.com/jsanders/angular_rails_csrf/blob/master/LICENSE).
|
@@ -12,9 +12,15 @@ module AngularRailsCsrf
|
|
12
12
|
return unless protect_against_forgery? && !respond_to?(:__exclude_xsrf_token_cookie?)
|
13
13
|
|
14
14
|
config = Rails.application.config
|
15
|
-
|
15
|
+
|
16
|
+
cookie_options = {
|
17
|
+
value: form_authenticity_token,
|
18
|
+
domain: config.respond_to?(:angular_rails_csrf_domain) ? config.angular_rails_csrf_domain : nil
|
19
|
+
}
|
20
|
+
cookie_options[:secure] = config.angular_rails_csrf_secure if config.respond_to?(:angular_rails_csrf_secure)
|
21
|
+
|
16
22
|
cookie_name = config.respond_to?(:angular_rails_csrf_cookie_name) ? config.angular_rails_csrf_cookie_name : 'XSRF-TOKEN'
|
17
|
-
cookies[cookie_name] =
|
23
|
+
cookies[cookie_name] = cookie_options
|
18
24
|
end
|
19
25
|
|
20
26
|
def verified_request?
|
@@ -32,15 +32,36 @@ class AngularRailsCsrfTest < ActionController::TestCase
|
|
32
32
|
end
|
33
33
|
|
34
34
|
test 'the domain is used if present' do
|
35
|
-
|
36
|
-
|
37
|
-
|
35
|
+
begin
|
36
|
+
config = Rails.application.config
|
37
|
+
def config.angular_rails_csrf_domain
|
38
|
+
:all
|
39
|
+
end
|
40
|
+
|
41
|
+
get :index
|
42
|
+
assert @response.headers['Set-Cookie'].include?('.test.host')
|
43
|
+
assert_valid_cookie
|
44
|
+
assert_response :success
|
45
|
+
ensure
|
46
|
+
config.instance_eval('undef :angular_rails_csrf_domain', __FILE__, __LINE__)
|
38
47
|
end
|
48
|
+
end
|
39
49
|
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
50
|
+
test 'the secure flag is set if configured' do
|
51
|
+
begin
|
52
|
+
@request.headers['HTTPS'] = 'on'
|
53
|
+
|
54
|
+
config = Rails.application.config
|
55
|
+
config.define_singleton_method(:angular_rails_csrf_secure) { true }
|
56
|
+
|
57
|
+
get :index
|
58
|
+
assert @response.headers['Set-Cookie'].include?('secure')
|
59
|
+
assert_valid_cookie
|
60
|
+
assert_response :success
|
61
|
+
ensure
|
62
|
+
@request.headers['HTTPS'] = nil
|
63
|
+
config.instance_eval('undef :angular_rails_csrf_secure', __FILE__, __LINE__)
|
64
|
+
end
|
44
65
|
end
|
45
66
|
|
46
67
|
test 'a custom name is used if present' do
|
data/test/dummy/log/test.log
CHANGED
@@ -1,703 +1,84 @@
|
|
1
|
-
--------------------------------------------------------------------------------------------------------
|
2
|
-
AngularRailsCsrfTest: test_a_get_sets_the_XSRF-TOKEN_cookie_but_does_not_require_the_X-XSRF-TOKEN_header
|
3
|
-
--------------------------------------------------------------------------------------------------------
|
4
|
-
Processing by ApplicationController#index as HTML
|
5
|
-
Completed 200 OK in 0ms
|
6
|
-
-----------------------------------------------------------------------------
|
7
|
-
AngularRailsCsrfTest: test_a_post_is_accepted_if_X-XSRF-TOKEN_is_set_properly
|
8
|
-
-----------------------------------------------------------------------------
|
9
|
-
Processing by ApplicationController#create as HTML
|
10
|
-
Completed 200 OK in 1ms
|
11
|
-
-----------------------------------------------------------------------------------------------------
|
12
|
-
AngularRailsCsrfTest: test_a_post_raises_an_error_with_the_X-XSRF-TOKEN_header_set_to_the_wrong_value
|
13
|
-
-----------------------------------------------------------------------------------------------------
|
14
|
-
Processing by ApplicationController#create as HTML
|
15
|
-
Can't verify CSRF token authenticity.
|
16
|
-
Completed 422 Unprocessable Entity in 1ms
|
17
|
-
-------------------------------------------------------------------------------------
|
18
|
-
AngularRailsCsrfTest: test_a_post_raises_an_error_without_the_X-XSRF-TOKEN_header_set
|
19
|
-
-------------------------------------------------------------------------------------
|
20
|
-
Processing by ApplicationController#create as HTML
|
21
|
-
Can't verify CSRF token authenticity.
|
22
|
-
Completed 422 Unprocessable Entity in 0ms
|
23
|
-
Processing by ApplicationController#index as HTML
|
24
|
-
Completed 200 OK in 0ms
|
25
|
-
Processing by ApplicationController#create as HTML
|
26
|
-
Completed 200 OK in 0ms
|
27
|
-
Processing by ApplicationController#create as HTML
|
28
|
-
WARNING: Can't verify CSRF token authenticity
|
29
|
-
Completed 422 Unprocessable Entity in 0ms
|
30
|
-
Processing by ApplicationController#create as HTML
|
31
|
-
WARNING: Can't verify CSRF token authenticity
|
32
|
-
Completed 422 Unprocessable Entity in 0ms
|
33
|
-
--------------------------------------------------------------------------------------------------------
|
34
|
-
AngularRailsCsrfTest: test_a_get_sets_the_XSRF-TOKEN_cookie_but_does_not_require_the_X-XSRF-TOKEN_header
|
35
|
-
--------------------------------------------------------------------------------------------------------
|
36
|
-
Processing by ApplicationController#index as HTML
|
37
|
-
Completed 200 OK in 0ms
|
38
|
-
-----------------------------------------------------------------------------
|
39
|
-
AngularRailsCsrfTest: test_a_post_is_accepted_if_X-XSRF-TOKEN_is_set_properly
|
40
|
-
-----------------------------------------------------------------------------
|
41
|
-
Processing by ApplicationController#create as HTML
|
42
|
-
Completed 200 OK in 1ms
|
43
|
-
-----------------------------------------------------------------------------------------------------
|
44
|
-
AngularRailsCsrfTest: test_a_post_raises_an_error_with_the_X-XSRF-TOKEN_header_set_to_the_wrong_value
|
45
|
-
-----------------------------------------------------------------------------------------------------
|
46
|
-
Processing by ApplicationController#create as HTML
|
47
|
-
Can't verify CSRF token authenticity.
|
48
|
-
Completed 422 Unprocessable Entity in 0ms
|
49
|
-
-------------------------------------------------------------------------------------
|
50
|
-
AngularRailsCsrfTest: test_a_post_raises_an_error_without_the_X-XSRF-TOKEN_header_set
|
51
|
-
-------------------------------------------------------------------------------------
|
52
|
-
Processing by ApplicationController#create as HTML
|
53
|
-
Can't verify CSRF token authenticity.
|
54
|
-
Completed 422 Unprocessable Entity in 1ms
|
55
|
-
-------------------------------------------------------------------------------------
|
56
|
-
AngularRailsCsrfTest: test_a_post_raises_an_error_without_the_X-XSRF-TOKEN_header_set
|
57
|
-
-------------------------------------------------------------------------------------
|
58
|
-
Processing by ApplicationController#create as HTML
|
59
|
-
Can't verify CSRF token authenticity.
|
60
|
-
Completed 422 Unprocessable Entity in 1ms
|
61
|
-
-----------------------------------------------------------------------------------------------------
|
62
|
-
AngularRailsCsrfTest: test_a_post_raises_an_error_with_the_X-XSRF-TOKEN_header_set_to_the_wrong_value
|
63
|
-
-----------------------------------------------------------------------------------------------------
|
64
|
-
Processing by ApplicationController#create as HTML
|
65
|
-
Can't verify CSRF token authenticity.
|
66
|
-
Completed 422 Unprocessable Entity in 0ms
|
67
|
-
-----------------------------------------------------------------------------
|
68
|
-
AngularRailsCsrfTest: test_a_post_is_accepted_if_X-XSRF-TOKEN_is_set_properly
|
69
|
-
-----------------------------------------------------------------------------
|
70
|
-
Processing by ApplicationController#create as HTML
|
71
|
-
Completed 200 OK in 1ms
|
72
|
-
--------------------------------------------------------------------------------------------------------
|
73
|
-
AngularRailsCsrfTest: test_a_get_sets_the_XSRF-TOKEN_cookie_but_does_not_require_the_X-XSRF-TOKEN_header
|
74
|
-
--------------------------------------------------------------------------------------------------------
|
75
|
-
Processing by ApplicationController#index as HTML
|
76
|
-
Completed 200 OK in 1ms
|
77
|
-
----------------------------------------------------------------------------
|
78
|
-
AngularRailsCsrfExceptionTest: test_a_get_does_not_set_the_XSRF-TOKEN_cookie
|
79
|
-
----------------------------------------------------------------------------
|
80
|
-
Processing by ExclusionsController#index as HTML
|
81
|
-
Completed 200 OK in 1ms
|
82
|
-
----------------------------------------------------------------------------
|
83
|
-
AngularRailsCsrfExceptionTest: test_a_get_does_not_set_the_XSRF-TOKEN_cookie
|
84
|
-
----------------------------------------------------------------------------
|
85
|
-
Processing by ExclusionsController#index as HTML
|
86
|
-
Completed 200 OK in 0ms
|
87
|
-
--------------------------------------------------------------------------------------------------------
|
88
|
-
AngularRailsCsrfTest: test_a_get_sets_the_XSRF-TOKEN_cookie_but_does_not_require_the_X-XSRF-TOKEN_header
|
89
|
-
--------------------------------------------------------------------------------------------------------
|
90
|
-
Processing by ApplicationController#index as HTML
|
91
|
-
Completed 200 OK in 0ms
|
92
|
-
-----------------------------------------------------------------------------------------------------
|
93
|
-
AngularRailsCsrfTest: test_a_post_raises_an_error_with_the_X-XSRF-TOKEN_header_set_to_the_wrong_value
|
94
|
-
-----------------------------------------------------------------------------------------------------
|
95
|
-
Processing by ApplicationController#create as HTML
|
96
|
-
Can't verify CSRF token authenticity.
|
97
|
-
Completed 422 Unprocessable Entity in 1ms
|
98
|
-
-------------------------------------------------------------------------------------
|
99
|
-
AngularRailsCsrfTest: test_a_post_raises_an_error_without_the_X-XSRF-TOKEN_header_set
|
100
|
-
-------------------------------------------------------------------------------------
|
101
|
-
Processing by ApplicationController#create as HTML
|
102
|
-
Can't verify CSRF token authenticity.
|
103
|
-
Completed 422 Unprocessable Entity in 0ms
|
104
|
-
-----------------------------------------------------------------------------
|
105
|
-
AngularRailsCsrfTest: test_a_post_is_accepted_if_X-XSRF-TOKEN_is_set_properly
|
106
|
-
-----------------------------------------------------------------------------
|
107
|
-
Processing by ApplicationController#create as HTML
|
108
|
-
Completed 200 OK in 0ms
|
109
|
-
-----------------------------------------------------------------------------------------------------
|
110
|
-
AngularRailsCsrfTest: test_a_post_raises_an_error_with_the_X-XSRF-TOKEN_header_set_to_the_wrong_value
|
111
|
-
-----------------------------------------------------------------------------------------------------
|
112
|
-
Processing by ApplicationController#create as HTML
|
113
|
-
Can't verify CSRF token authenticity.
|
114
|
-
Completed 422 Unprocessable Entity in 0ms
|
115
|
-
-----------------------------------------------------------------------------
|
116
|
-
AngularRailsCsrfTest: test_a_post_is_accepted_if_X-XSRF-TOKEN_is_set_properly
|
117
|
-
-----------------------------------------------------------------------------
|
118
|
-
Processing by ApplicationController#create as HTML
|
119
|
-
Completed 200 OK in 1ms
|
120
|
-
-------------------------------------------------------------------------------------
|
121
|
-
AngularRailsCsrfTest: test_a_post_raises_an_error_without_the_X-XSRF-TOKEN_header_set
|
122
|
-
-------------------------------------------------------------------------------------
|
123
|
-
Processing by ApplicationController#create as HTML
|
124
|
-
Can't verify CSRF token authenticity.
|
125
|
-
Completed 422 Unprocessable Entity in 1ms
|
126
|
-
--------------------------------------------------------------------------------------------------------
|
127
|
-
AngularRailsCsrfTest: test_a_get_sets_the_XSRF-TOKEN_cookie_but_does_not_require_the_X-XSRF-TOKEN_header
|
128
|
-
--------------------------------------------------------------------------------------------------------
|
129
|
-
Processing by ApplicationController#index as HTML
|
130
|
-
Completed 200 OK in 1ms
|
131
|
-
----------------------------------------------------------------------------
|
132
|
-
AngularRailsCsrfExceptionTest: test_a_get_does_not_set_the_XSRF-TOKEN_cookie
|
133
|
-
----------------------------------------------------------------------------
|
134
|
-
Processing by ExclusionsController#index as HTML
|
135
|
-
Completed 200 OK in 0ms
|
136
|
-
----------------------------------------------------------------------------
|
137
|
-
AngularRailsCsrfExceptionTest: test_a_get_does_not_set_the_XSRF-TOKEN_cookie
|
138
|
-
----------------------------------------------------------------------------
|
139
|
-
Processing by ExclusionsController#index as HTML
|
140
|
-
Completed 200 OK in 1ms
|
141
|
-
-----------------------------------------------------------------------------
|
142
|
-
AngularRailsCsrfTest: test_a_post_is_accepted_if_X-XSRF-TOKEN_is_set_properly
|
143
|
-
-----------------------------------------------------------------------------
|
144
|
-
Processing by ApplicationController#create as HTML
|
145
|
-
Completed 200 OK in 0ms
|
146
|
-
--------------------------------------------------------------------------------------------------------
|
147
|
-
AngularRailsCsrfTest: test_a_get_sets_the_XSRF-TOKEN_cookie_but_does_not_require_the_X-XSRF-TOKEN_header
|
148
|
-
--------------------------------------------------------------------------------------------------------
|
149
|
-
Processing by ApplicationController#index as HTML
|
150
|
-
Completed 200 OK in 0ms
|
151
|
-
-------------------------------------------------------------------------------------
|
152
|
-
AngularRailsCsrfTest: test_a_post_raises_an_error_without_the_X-XSRF-TOKEN_header_set
|
153
|
-
-------------------------------------------------------------------------------------
|
154
|
-
Processing by ApplicationController#create as HTML
|
155
|
-
Can't verify CSRF token authenticity.
|
156
|
-
Completed 422 Unprocessable Entity in 0ms
|
157
|
-
-----------------------------------------------------------------------------------------------------
|
158
|
-
AngularRailsCsrfTest: test_a_post_raises_an_error_with_the_X-XSRF-TOKEN_header_set_to_the_wrong_value
|
159
|
-
-----------------------------------------------------------------------------------------------------
|
160
|
-
Processing by ApplicationController#create as HTML
|
161
|
-
Can't verify CSRF token authenticity.
|
162
|
-
Completed 422 Unprocessable Entity in 0ms
|
163
|
-
----------------------------------------------------------------------------
|
164
|
-
AngularRailsCsrfExceptionTest: test_a_get_does_not_set_the_XSRF-TOKEN_cookie
|
165
|
-
----------------------------------------------------------------------------
|
166
|
-
Processing by ExclusionsController#index as HTML
|
167
|
-
Completed 200 OK in 0ms
|
168
|
-
--------------------------------------------------------
|
169
|
-
AngularRailsCsrfTest: test_the_domain_is_used_if_present
|
170
|
-
--------------------------------------------------------
|
171
|
-
Processing by ApplicationController#index as HTML
|
172
|
-
Completed 200 OK in 0ms
|
173
|
-
--------------------------------------------------------------------------------------------------------
|
174
|
-
AngularRailsCsrfTest: test_a_get_sets_the_XSRF-TOKEN_cookie_but_does_not_require_the_X-XSRF-TOKEN_header
|
175
|
-
--------------------------------------------------------------------------------------------------------
|
176
|
-
Processing by ApplicationController#index as HTML
|
177
|
-
Completed 200 OK in 0ms
|
178
|
-
-----------------------------------------------------------------------------------------------------
|
179
|
-
AngularRailsCsrfTest: test_a_post_raises_an_error_with_the_X-XSRF-TOKEN_header_set_to_the_wrong_value
|
180
|
-
-----------------------------------------------------------------------------------------------------
|
181
|
-
Processing by ApplicationController#create as HTML
|
182
|
-
Can't verify CSRF token authenticity.
|
183
|
-
Completed 422 Unprocessable Entity in 1ms
|
184
|
-
-------------------------------------------------------------------------------------
|
185
|
-
AngularRailsCsrfTest: test_a_post_raises_an_error_without_the_X-XSRF-TOKEN_header_set
|
186
|
-
-------------------------------------------------------------------------------------
|
187
|
-
Processing by ApplicationController#create as HTML
|
188
|
-
Can't verify CSRF token authenticity.
|
189
|
-
Completed 422 Unprocessable Entity in 0ms
|
190
|
-
-----------------------------------------------------------------------------
|
191
|
-
AngularRailsCsrfTest: test_a_post_is_accepted_if_X-XSRF-TOKEN_is_set_properly
|
192
|
-
-----------------------------------------------------------------------------
|
193
|
-
Processing by ApplicationController#create as HTML
|
194
|
-
Completed 200 OK in 0ms
|
195
|
-
-------------------------------------------------------------------------------------
|
196
|
-
AngularRailsCsrfTest: test_a_post_raises_an_error_without_the_X-XSRF-TOKEN_header_set
|
197
|
-
-------------------------------------------------------------------------------------
|
198
|
-
Processing by ApplicationController#create as HTML
|
199
|
-
Can't verify CSRF token authenticity.
|
200
|
-
Completed 422 Unprocessable Entity in 1ms
|
201
|
-
-----------------------------------------------------------------------------------------------------
|
202
|
-
AngularRailsCsrfTest: test_a_post_raises_an_error_with_the_X-XSRF-TOKEN_header_set_to_the_wrong_value
|
203
|
-
-----------------------------------------------------------------------------------------------------
|
204
|
-
Processing by ApplicationController#create as HTML
|
205
|
-
Can't verify CSRF token authenticity.
|
206
|
-
Completed 422 Unprocessable Entity in 1ms
|
207
|
-
-----------------------------------------------------------------------------
|
208
|
-
AngularRailsCsrfTest: test_a_post_is_accepted_if_X-XSRF-TOKEN_is_set_properly
|
209
|
-
-----------------------------------------------------------------------------
|
210
|
-
Processing by ApplicationController#create as HTML
|
211
|
-
Completed 200 OK in 0ms
|
212
|
-
--------------------------------------------------------------------------------------------------------
|
213
|
-
AngularRailsCsrfTest: test_a_get_sets_the_XSRF-TOKEN_cookie_but_does_not_require_the_X-XSRF-TOKEN_header
|
214
|
-
--------------------------------------------------------------------------------------------------------
|
215
|
-
Processing by ApplicationController#index as HTML
|
216
|
-
Completed 200 OK in 0ms
|
217
|
-
-----------------------------------------------------------------------------
|
218
|
-
AngularRailsCsrfTest: test_a_post_is_accepted_if_X-XSRF-TOKEN_is_set_properly
|
219
|
-
-----------------------------------------------------------------------------
|
220
|
-
Processing by ApplicationController#create as HTML
|
221
|
-
-----------------------------------------------------------------------------
|
222
|
-
AngularRailsCsrfTest: test_a_post_is_accepted_if_X-XSRF-TOKEN_is_set_properly
|
223
|
-
-----------------------------------------------------------------------------
|
224
|
-
Processing by ApplicationController#create as HTML
|
225
|
-
Completed 200 OK in 1ms
|
226
|
-
-----------------------------------------------------------------------------------------------------
|
227
|
-
AngularRailsCsrfTest: test_a_post_raises_an_error_with_the_X-XSRF-TOKEN_header_set_to_the_wrong_value
|
228
|
-
-----------------------------------------------------------------------------------------------------
|
229
|
-
Processing by ApplicationController#create as HTML
|
230
|
-
Can't verify CSRF token authenticity.
|
231
|
-
Completed 422 Unprocessable Entity in 1ms
|
232
|
-
-------------------------------------------------------------------------------------
|
233
|
-
AngularRailsCsrfTest: test_a_post_raises_an_error_without_the_X-XSRF-TOKEN_header_set
|
234
|
-
-------------------------------------------------------------------------------------
|
235
|
-
Processing by ApplicationController#create as HTML
|
236
|
-
Can't verify CSRF token authenticity.
|
237
|
-
Completed 422 Unprocessable Entity in 0ms
|
238
|
-
--------------------------------------------------------
|
239
|
-
AngularRailsCsrfTest: test_the_domain_is_used_if_present
|
240
|
-
--------------------------------------------------------
|
241
|
-
Processing by ApplicationController#index as HTML
|
242
|
-
Completed 200 OK in 0ms
|
243
|
-
--------------------------------------------------------------------------------------------------------
|
244
|
-
AngularRailsCsrfTest: test_a_get_sets_the_XSRF-TOKEN_cookie_but_does_not_require_the_X-XSRF-TOKEN_header
|
245
|
-
--------------------------------------------------------------------------------------------------------
|
246
|
-
Processing by ApplicationController#index as HTML
|
247
|
-
Completed 200 OK in 0ms
|
248
|
-
----------------------------------------------------------------------------
|
249
|
-
AngularRailsCsrfExceptionTest: test_a_get_does_not_set_the_XSRF-TOKEN_cookie
|
250
|
-
----------------------------------------------------------------------------
|
251
|
-
Processing by ExclusionsController#index as HTML
|
252
|
-
Completed 200 OK in 0ms
|
253
|
-
----------------------------------------------------------------------------
|
254
|
-
AngularRailsCsrfExceptionTest: test_a_get_does_not_set_the_XSRF-TOKEN_cookie
|
255
|
-
----------------------------------------------------------------------------
|
256
|
-
Processing by ExclusionsController#index as HTML
|
257
|
-
Completed 200 OK in 0ms
|
258
|
-
-----------------------------------------------------------------------------------------------------
|
259
|
-
AngularRailsCsrfTest: test_a_post_raises_an_error_with_the_X-XSRF-TOKEN_header_set_to_the_wrong_value
|
260
|
-
-----------------------------------------------------------------------------------------------------
|
261
|
-
Processing by ApplicationController#create as HTML
|
262
|
-
Can't verify CSRF token authenticity.
|
263
|
-
Completed 422 Unprocessable Entity in 1ms
|
264
|
-
-----------------------------------------------------------------------------
|
265
|
-
AngularRailsCsrfTest: test_a_post_is_accepted_if_X-XSRF-TOKEN_is_set_properly
|
266
|
-
-----------------------------------------------------------------------------
|
267
|
-
Processing by ApplicationController#create as HTML
|
268
|
-
Completed 200 OK in 1ms
|
269
|
-
-------------------------------------------------------------------------------------
|
270
|
-
AngularRailsCsrfTest: test_a_post_raises_an_error_without_the_X-XSRF-TOKEN_header_set
|
271
|
-
-------------------------------------------------------------------------------------
|
272
|
-
Processing by ApplicationController#create as HTML
|
273
|
-
Can't verify CSRF token authenticity.
|
274
|
-
Completed 422 Unprocessable Entity in 1ms
|
275
|
-
--------------------------------------------------------
|
276
|
-
AngularRailsCsrfTest: test_the_domain_is_used_if_present
|
277
|
-
--------------------------------------------------------
|
278
|
-
Processing by ApplicationController#index as HTML
|
279
|
-
Completed 200 OK in 1ms
|
280
|
-
--------------------------------------------------------------------------------------------------------
|
281
|
-
AngularRailsCsrfTest: test_a_get_sets_the_XSRF-TOKEN_cookie_but_does_not_require_the_X-XSRF-TOKEN_header
|
282
|
-
--------------------------------------------------------------------------------------------------------
|
283
|
-
Processing by ApplicationController#index as HTML
|
284
|
-
Completed 200 OK in 1ms
|
285
|
-
----------------------------------------------------------------------------
|
286
|
-
AngularRailsCsrfExceptionTest: test_a_get_does_not_set_the_XSRF-TOKEN_cookie
|
287
|
-
----------------------------------------------------------------------------
|
288
|
-
Processing by ExclusionsController#index as HTML
|
289
|
-
Completed 200 OK in 1ms
|
290
|
-
--------------------------------------------------------
|
291
|
-
AngularRailsCsrfTest: test_the_domain_is_used_if_present
|
292
|
-
--------------------------------------------------------
|
293
|
-
Processing by ApplicationController#index as HTML
|
294
|
-
Completed 200 OK in 0ms
|
295
|
-
-------------------------------------------------------------------------------------
|
296
|
-
AngularRailsCsrfTest: test_a_post_raises_an_error_without_the_X-XSRF-TOKEN_header_set
|
297
|
-
-------------------------------------------------------------------------------------
|
298
|
-
Processing by ApplicationController#create as HTML
|
299
|
-
Can't verify CSRF token authenticity.
|
300
|
-
Completed 422 Unprocessable Entity in 1ms
|
301
|
-
-----------------------------------------------------------------------------
|
302
|
-
AngularRailsCsrfTest: test_a_post_is_accepted_if_X-XSRF-TOKEN_is_set_properly
|
303
|
-
-----------------------------------------------------------------------------
|
304
|
-
Processing by ApplicationController#create as HTML
|
305
|
-
Completed 200 OK in 0ms
|
306
|
-
--------------------------------------------------------------------------------------------------------
|
307
|
-
AngularRailsCsrfTest: test_a_get_sets_the_XSRF-TOKEN_cookie_but_does_not_require_the_X-XSRF-TOKEN_header
|
308
|
-
--------------------------------------------------------------------------------------------------------
|
309
|
-
Processing by ApplicationController#index as HTML
|
310
|
-
Completed 200 OK in 0ms
|
311
|
-
-----------------------------------------------------------------------------------------------------
|
312
|
-
AngularRailsCsrfTest: test_a_post_raises_an_error_with_the_X-XSRF-TOKEN_header_set_to_the_wrong_value
|
313
|
-
-----------------------------------------------------------------------------------------------------
|
314
|
-
Processing by ApplicationController#create as HTML
|
315
|
-
Can't verify CSRF token authenticity.
|
316
|
-
Completed 422 Unprocessable Entity in 0ms
|
317
|
-
----------------------------------------------------------------------------
|
318
|
-
AngularRailsCsrfExceptionTest: test_a_get_does_not_set_the_XSRF-TOKEN_cookie
|
319
|
-
----------------------------------------------------------------------------
|
320
|
-
Processing by ExclusionsController#index as HTML
|
321
|
-
Completed 200 OK in 0ms
|
322
|
-
-------------------------------------------------------------------------------------
|
323
|
-
AngularRailsCsrfTest: test_a_post_raises_an_error_without_the_X-XSRF-TOKEN_header_set
|
324
|
-
-------------------------------------------------------------------------------------
|
325
|
-
Processing by ApplicationController#create as HTML
|
326
|
-
Can't verify CSRF token authenticity.
|
327
|
-
Completed 422 Unprocessable Entity in 1ms
|
328
|
-
--------------------------------------------------------------------------------------------------------
|
329
|
-
AngularRailsCsrfTest: test_a_get_sets_the_XSRF-TOKEN_cookie_but_does_not_require_the_X-XSRF-TOKEN_header
|
330
|
-
--------------------------------------------------------------------------------------------------------
|
331
|
-
Processing by ApplicationController#index as HTML
|
332
|
-
Completed 200 OK in 1ms
|
333
|
-
-----------------------------------------------------------------------------------------------------
|
334
|
-
AngularRailsCsrfTest: test_a_post_raises_an_error_with_the_X-XSRF-TOKEN_header_set_to_the_wrong_value
|
335
|
-
-----------------------------------------------------------------------------------------------------
|
336
|
-
Processing by ApplicationController#create as HTML
|
337
|
-
Can't verify CSRF token authenticity.
|
338
|
-
Completed 422 Unprocessable Entity in 0ms
|
339
|
-
--------------------------------------------------------
|
340
|
-
AngularRailsCsrfTest: test_the_domain_is_used_if_present
|
341
|
-
--------------------------------------------------------
|
342
|
-
Processing by ApplicationController#index as HTML
|
343
|
-
Completed 200 OK in 0ms
|
344
|
-
--------------------------------------------------------
|
345
|
-
AngularRailsCsrfTest: test_the_domain_is_used_if_present
|
346
|
-
--------------------------------------------------------
|
347
|
-
Processing by ApplicationController#index as HTML
|
348
|
-
Completed 200 OK in 1ms
|
349
|
-
--------------------------------------------------------------------------------------------------------
|
350
|
-
AngularRailsCsrfTest: test_a_get_sets_the_XSRF-TOKEN_cookie_but_does_not_require_the_X-XSRF-TOKEN_header
|
351
|
-
--------------------------------------------------------------------------------------------------------
|
352
|
-
Processing by ApplicationController#index as HTML
|
353
|
-
Completed 200 OK in 0ms
|
354
|
-
-----------------------------------------------------------------------------
|
355
|
-
AngularRailsCsrfTest: test_a_post_is_accepted_if_X-XSRF-TOKEN_is_set_properly
|
356
|
-
-----------------------------------------------------------------------------
|
357
|
-
Processing by ApplicationController#create as HTML
|
358
|
-
Completed 200 OK in 0ms
|
359
|
-
-------------------------------------------------------------------------------------
|
360
|
-
AngularRailsCsrfTest: test_a_post_raises_an_error_without_the_X-XSRF-TOKEN_header_set
|
361
|
-
-------------------------------------------------------------------------------------
|
362
|
-
Processing by ApplicationController#create as HTML
|
363
|
-
Can't verify CSRF token authenticity.
|
364
|
-
Completed 422 Unprocessable Entity in 1ms
|
365
|
-
-----------------------------------------------------------------------------------------------------
|
366
|
-
AngularRailsCsrfTest: test_a_post_raises_an_error_with_the_X-XSRF-TOKEN_header_set_to_the_wrong_value
|
367
|
-
-----------------------------------------------------------------------------------------------------
|
368
|
-
Processing by ApplicationController#create as HTML
|
369
|
-
Can't verify CSRF token authenticity.
|
370
|
-
Completed 422 Unprocessable Entity in 0ms
|
371
|
-
----------------------------------------------------------------------------
|
372
|
-
AngularRailsCsrfExceptionTest: test_a_get_does_not_set_the_XSRF-TOKEN_cookie
|
373
|
-
----------------------------------------------------------------------------
|
374
|
-
Processing by ExclusionsController#index as HTML
|
375
|
-
Completed 200 OK in 0ms
|
376
1
|
----------------------------------------------------------------------------
|
377
2
|
AngularRailsCsrfExceptionTest: test_a_get_does_not_set_the_XSRF-TOKEN_cookie
|
378
3
|
----------------------------------------------------------------------------
|
379
4
|
Processing by ExclusionsController#index as HTML
|
380
|
-
Completed 200 OK in 0ms
|
381
|
-
--------------------------------------------------------------------------------------------------------
|
382
|
-
AngularRailsCsrfTest: test_a_get_sets_the_XSRF-TOKEN_cookie_but_does_not_require_the_X-XSRF-TOKEN_header
|
383
|
-
--------------------------------------------------------------------------------------------------------
|
384
|
-
Processing by ApplicationController#index as HTML
|
385
|
-
Completed 200 OK in 0ms
|
386
|
-
-----------------------------------------------------------------------------------------------------
|
387
|
-
AngularRailsCsrfTest: test_a_post_raises_an_error_with_the_X-XSRF-TOKEN_header_set_to_the_wrong_value
|
388
|
-
-----------------------------------------------------------------------------------------------------
|
389
|
-
Processing by ApplicationController#create as HTML
|
390
|
-
Can't verify CSRF token authenticity.
|
391
|
-
Completed 422 Unprocessable Entity in 0ms
|
392
|
-
-------------------------------------------------------------------------------------
|
393
|
-
AngularRailsCsrfTest: test_a_post_raises_an_error_without_the_X-XSRF-TOKEN_header_set
|
394
|
-
-------------------------------------------------------------------------------------
|
395
|
-
Processing by ApplicationController#create as HTML
|
396
|
-
Can't verify CSRF token authenticity.
|
397
|
-
Completed 422 Unprocessable Entity in 0ms
|
5
|
+
Completed 200 OK in 0ms (Allocations: 128)
|
398
6
|
--------------------------------------------------------
|
399
7
|
AngularRailsCsrfTest: test_the_domain_is_used_if_present
|
400
8
|
--------------------------------------------------------
|
401
9
|
Processing by ApplicationController#index as HTML
|
402
|
-
Completed 200 OK in 0ms
|
403
|
-
|
404
|
-
AngularRailsCsrfTest:
|
405
|
-
|
406
|
-
Processing by ApplicationController#
|
407
|
-
Completed 200 OK in 0ms
|
10
|
+
Completed 200 OK in 0ms (Allocations: 118)
|
11
|
+
---------------------------------------------------------------
|
12
|
+
AngularRailsCsrfTest: test_the_secure_flag_is_set_if_configured
|
13
|
+
---------------------------------------------------------------
|
14
|
+
Processing by ApplicationController#index as HTML
|
15
|
+
Completed 200 OK in 0ms (Allocations: 106)
|
408
16
|
-------------------------------------------------------------------------------------
|
409
17
|
AngularRailsCsrfTest: test_a_post_raises_an_error_without_the_X-XSRF-TOKEN_header_set
|
410
18
|
-------------------------------------------------------------------------------------
|
411
19
|
Processing by ApplicationController#create as HTML
|
412
20
|
Can't verify CSRF token authenticity.
|
413
|
-
Completed 422 Unprocessable Entity in
|
414
|
-
--------------------------------------------------------
|
415
|
-
AngularRailsCsrfTest: test_the_domain_is_used_if_present
|
416
|
-
--------------------------------------------------------
|
417
|
-
Processing by ApplicationController#index as HTML
|
418
|
-
Completed 200 OK in 0ms
|
419
|
-
-----------------------------------------------------------------------------------------------------
|
420
|
-
AngularRailsCsrfTest: test_a_post_raises_an_error_with_the_X-XSRF-TOKEN_header_set_to_the_wrong_value
|
421
|
-
-----------------------------------------------------------------------------------------------------
|
422
|
-
Processing by ApplicationController#create as HTML
|
423
|
-
Can't verify CSRF token authenticity.
|
424
|
-
Completed 422 Unprocessable Entity in 0ms
|
425
|
-
-----------------------------------------------------------
|
426
|
-
AngularRailsCsrfTest: test_a_custom_name_is_used_if_present
|
427
|
-
-----------------------------------------------------------
|
428
|
-
Processing by ApplicationController#index as HTML
|
429
|
-
Completed 200 OK in 1ms
|
430
|
-
-----------------------------------------------------------------------------
|
431
|
-
AngularRailsCsrfTest: test_a_post_is_accepted_if_X-XSRF-TOKEN_is_set_properly
|
432
|
-
-----------------------------------------------------------------------------
|
433
|
-
Processing by ApplicationController#create as HTML
|
434
|
-
Completed 200 OK in 0ms
|
435
|
-
--------------------------------------------------------------------------------------------------------
|
436
|
-
AngularRailsCsrfTest: test_a_get_sets_the_XSRF-TOKEN_cookie_but_does_not_require_the_X-XSRF-TOKEN_header
|
437
|
-
--------------------------------------------------------------------------------------------------------
|
438
|
-
Processing by ApplicationController#index as HTML
|
439
|
-
Completed 200 OK in 0ms
|
440
|
-
----------------------------------------------------------------------------
|
441
|
-
AngularRailsCsrfExceptionTest: test_a_get_does_not_set_the_XSRF-TOKEN_cookie
|
442
|
-
----------------------------------------------------------------------------
|
443
|
-
Processing by ExclusionsController#index as HTML
|
444
|
-
Completed 200 OK in 0ms
|
21
|
+
Completed 422 Unprocessable Entity in 1ms (Allocations: 111)
|
445
22
|
--------------------------------------------------------------------------------------------------------
|
446
23
|
AngularRailsCsrfTest: test_a_get_sets_the_XSRF-TOKEN_cookie_but_does_not_require_the_X-XSRF-TOKEN_header
|
447
24
|
--------------------------------------------------------------------------------------------------------
|
448
25
|
Processing by ApplicationController#index as HTML
|
449
|
-
Completed 200 OK in 0ms
|
450
|
-
-----------------------------------------------------------------------------------------------------
|
451
|
-
AngularRailsCsrfTest: test_a_post_raises_an_error_with_the_X-XSRF-TOKEN_header_set_to_the_wrong_value
|
452
|
-
-----------------------------------------------------------------------------------------------------
|
453
|
-
Processing by ApplicationController#create as HTML
|
454
|
-
Can't verify CSRF token authenticity.
|
455
|
-
Completed 422 Unprocessable Entity in 0ms
|
456
|
-
-----------------------------------------------------------------------------
|
457
|
-
AngularRailsCsrfTest: test_a_post_is_accepted_if_X-XSRF-TOKEN_is_set_properly
|
458
|
-
-----------------------------------------------------------------------------
|
459
|
-
Processing by ApplicationController#create as HTML
|
460
|
-
Completed 200 OK in 0ms
|
26
|
+
Completed 200 OK in 0ms (Allocations: 106)
|
461
27
|
-----------------------------------------------------------
|
462
28
|
AngularRailsCsrfTest: test_a_custom_name_is_used_if_present
|
463
29
|
-----------------------------------------------------------
|
464
30
|
Processing by ApplicationController#index as HTML
|
465
|
-
Completed 200 OK in 0ms
|
466
|
-
--------------------------------------------------------
|
467
|
-
AngularRailsCsrfTest: test_the_domain_is_used_if_present
|
468
|
-
--------------------------------------------------------
|
469
|
-
Processing by ApplicationController#index as HTML
|
470
|
-
Completed 200 OK in 0ms
|
471
|
-
-------------------------------------------------------------------------------------
|
472
|
-
AngularRailsCsrfTest: test_a_post_raises_an_error_without_the_X-XSRF-TOKEN_header_set
|
473
|
-
-------------------------------------------------------------------------------------
|
474
|
-
Processing by ApplicationController#create as HTML
|
475
|
-
Can't verify CSRF token authenticity.
|
476
|
-
Completed 422 Unprocessable Entity in 0ms
|
477
|
-
----------------------------------------------------------------------------
|
478
|
-
AngularRailsCsrfExceptionTest: test_a_get_does_not_set_the_XSRF-TOKEN_cookie
|
479
|
-
----------------------------------------------------------------------------
|
480
|
-
Processing by ExclusionsController#index as HTML
|
481
|
-
Completed 200 OK in 0ms
|
482
|
-
--------------------------------------------------------------------------------------------------------
|
483
|
-
AngularRailsCsrfTest: test_a_get_sets_the_XSRF-TOKEN_cookie_but_does_not_require_the_X-XSRF-TOKEN_header
|
484
|
-
--------------------------------------------------------------------------------------------------------
|
485
|
-
Processing by ApplicationController#index as HTML
|
486
|
-
Completed 200 OK in 0ms
|
31
|
+
Completed 200 OK in 0ms (Allocations: 106)
|
487
32
|
-----------------------------------------------------------------------------------------------------
|
488
33
|
AngularRailsCsrfTest: test_a_post_raises_an_error_with_the_X-XSRF-TOKEN_header_set_to_the_wrong_value
|
489
34
|
-----------------------------------------------------------------------------------------------------
|
490
35
|
Processing by ApplicationController#create as HTML
|
491
36
|
Can't verify CSRF token authenticity.
|
492
|
-
Completed 422 Unprocessable Entity in 0ms
|
493
|
-
--------------------------------------------------------
|
494
|
-
AngularRailsCsrfTest: test_the_domain_is_used_if_present
|
495
|
-
--------------------------------------------------------
|
496
|
-
Processing by ApplicationController#index as HTML
|
497
|
-
Completed 200 OK in 0ms
|
498
|
-
-------------------------------------------------------------------------------------
|
499
|
-
AngularRailsCsrfTest: test_a_post_raises_an_error_without_the_X-XSRF-TOKEN_header_set
|
500
|
-
-------------------------------------------------------------------------------------
|
501
|
-
Processing by ApplicationController#create as HTML
|
502
|
-
Can't verify CSRF token authenticity.
|
503
|
-
Completed 422 Unprocessable Entity in 0ms
|
37
|
+
Completed 422 Unprocessable Entity in 0ms (Allocations: 103)
|
504
38
|
-----------------------------------------------------------------------------
|
505
39
|
AngularRailsCsrfTest: test_a_post_is_accepted_if_X-XSRF-TOKEN_is_set_properly
|
506
40
|
-----------------------------------------------------------------------------
|
507
41
|
Processing by ApplicationController#create as HTML
|
508
|
-
Completed 200 OK in 0ms
|
509
|
-
-----------------------------------------------------------
|
510
|
-
AngularRailsCsrfTest: test_a_custom_name_is_used_if_present
|
511
|
-
-----------------------------------------------------------
|
512
|
-
Processing by ApplicationController#index as HTML
|
513
|
-
Completed 200 OK in 0ms
|
514
|
-
----------------------------------------------------------------------------
|
515
|
-
AngularRailsCsrfExceptionTest: test_a_get_does_not_set_the_XSRF-TOKEN_cookie
|
516
|
-
----------------------------------------------------------------------------
|
517
|
-
Processing by ExclusionsController#index as HTML
|
518
|
-
Completed 200 OK in 0ms
|
519
|
-
----------------------------------------------------------------------------
|
520
|
-
AngularRailsCsrfExceptionTest: test_a_get_does_not_set_the_XSRF-TOKEN_cookie
|
521
|
-
----------------------------------------------------------------------------
|
522
|
-
Processing by ExclusionsController#index as HTML
|
523
|
-
Completed 200 OK in 0ms (Allocations: 128)
|
524
|
-
-------------------------------------------------------------------------------------
|
525
|
-
AngularRailsCsrfTest: test_a_post_raises_an_error_without_the_X-XSRF-TOKEN_header_set
|
526
|
-
-------------------------------------------------------------------------------------
|
527
|
-
Processing by ApplicationController#create as HTML
|
528
|
-
Can't verify CSRF token authenticity.
|
529
|
-
Completed 422 Unprocessable Entity in 0ms (Allocations: 118)
|
530
|
-
--------------------------------------------------------
|
531
|
-
AngularRailsCsrfTest: test_the_domain_is_used_if_present
|
532
|
-
--------------------------------------------------------
|
533
|
-
Processing by ApplicationController#index as HTML
|
534
|
-
Completed 200 OK in 0ms (Allocations: 119)
|
535
|
-
--------------------------------------------------------------------------------------------------------
|
536
|
-
AngularRailsCsrfTest: test_a_get_sets_the_XSRF-TOKEN_cookie_but_does_not_require_the_X-XSRF-TOKEN_header
|
537
|
-
--------------------------------------------------------------------------------------------------------
|
538
|
-
Processing by ApplicationController#index as HTML
|
539
|
-
Completed 200 OK in 0ms (Allocations: 116)
|
42
|
+
Completed 200 OK in 0ms (Allocations: 125)
|
540
43
|
-----------------------------------------------------------------------------------------------------
|
541
44
|
AngularRailsCsrfTest: test_a_post_raises_an_error_with_the_X-XSRF-TOKEN_header_set_to_the_wrong_value
|
542
45
|
-----------------------------------------------------------------------------------------------------
|
543
46
|
Processing by ApplicationController#create as HTML
|
544
47
|
Can't verify CSRF token authenticity.
|
545
|
-
Completed 422 Unprocessable Entity in 0ms (Allocations:
|
546
|
-
-----------------------------------------------------------------------------
|
547
|
-
AngularRailsCsrfTest: test_a_post_is_accepted_if_X-XSRF-TOKEN_is_set_properly
|
548
|
-
-----------------------------------------------------------------------------
|
549
|
-
Processing by ApplicationController#create as HTML
|
550
|
-
Completed 200 OK in 0ms (Allocations: 136)
|
551
|
-
-----------------------------------------------------------
|
552
|
-
AngularRailsCsrfTest: test_a_custom_name_is_used_if_present
|
553
|
-
-----------------------------------------------------------
|
554
|
-
Processing by ApplicationController#index as HTML
|
555
|
-
Completed 200 OK in 0ms (Allocations: 116)
|
556
|
-
----------------------------------------------------------------------------
|
557
|
-
AngularRailsCsrfExceptionTest: test_a_get_does_not_set_the_XSRF-TOKEN_cookie
|
558
|
-
----------------------------------------------------------------------------
|
559
|
-
Processing by ExclusionsController#index as HTML
|
560
|
-
Completed 200 OK in 0ms (Allocations: 128)
|
48
|
+
Completed 422 Unprocessable Entity in 0ms (Allocations: 162)
|
561
49
|
--------------------------------------------------------------------------------------------------------
|
562
50
|
AngularRailsCsrfTest: test_a_get_sets_the_XSRF-TOKEN_cookie_but_does_not_require_the_X-XSRF-TOKEN_header
|
563
51
|
--------------------------------------------------------------------------------------------------------
|
564
52
|
Processing by ApplicationController#index as HTML
|
565
|
-
Completed 200 OK in 0ms (Allocations:
|
53
|
+
Completed 200 OK in 0ms (Allocations: 125)
|
54
|
+
---------------------------------------------------------------
|
55
|
+
AngularRailsCsrfTest: test_the_secure_flag_is_set_if_configured
|
56
|
+
---------------------------------------------------------------
|
57
|
+
Processing by ApplicationController#index as HTML
|
58
|
+
Completed 200 OK in 0ms (Allocations: 106)
|
566
59
|
-----------------------------------------------------------------------------
|
567
60
|
AngularRailsCsrfTest: test_a_post_is_accepted_if_X-XSRF-TOKEN_is_set_properly
|
568
61
|
-----------------------------------------------------------------------------
|
569
62
|
Processing by ApplicationController#create as HTML
|
570
|
-
Completed 200 OK in 0ms (Allocations:
|
571
|
-
--------------------------------------------------------
|
572
|
-
AngularRailsCsrfTest: test_the_domain_is_used_if_present
|
573
|
-
--------------------------------------------------------
|
574
|
-
Processing by ApplicationController#index as HTML
|
575
|
-
Completed 200 OK in 0ms (Allocations: 120)
|
63
|
+
Completed 200 OK in 0ms (Allocations: 125)
|
576
64
|
-------------------------------------------------------------------------------------
|
577
65
|
AngularRailsCsrfTest: test_a_post_raises_an_error_without_the_X-XSRF-TOKEN_header_set
|
578
66
|
-------------------------------------------------------------------------------------
|
579
67
|
Processing by ApplicationController#create as HTML
|
580
68
|
Can't verify CSRF token authenticity.
|
581
|
-
Completed 422 Unprocessable Entity in 0ms (Allocations:
|
582
|
-
-----------------------------------------------------------
|
583
|
-
AngularRailsCsrfTest: test_a_custom_name_is_used_if_present
|
584
|
-
-----------------------------------------------------------
|
585
|
-
Processing by ApplicationController#index as HTML
|
586
|
-
Completed 200 OK in 0ms (Allocations: 118)
|
587
|
-
-----------------------------------------------------------------------------------------------------
|
588
|
-
AngularRailsCsrfTest: test_a_post_raises_an_error_with_the_X-XSRF-TOKEN_header_set_to_the_wrong_value
|
589
|
-
-----------------------------------------------------------------------------------------------------
|
590
|
-
Processing by ApplicationController#create as HTML
|
591
|
-
Can't verify CSRF token authenticity.
|
592
|
-
Completed 422 Unprocessable Entity in 0ms (Allocations: 104)
|
593
|
-
--------------------------------------------------------------------------------------------------------
|
594
|
-
AngularRailsCsrfTest: test_a_get_sets_the_XSRF-TOKEN_cookie_but_does_not_require_the_X-XSRF-TOKEN_header
|
595
|
-
--------------------------------------------------------------------------------------------------------
|
596
|
-
Processing by ApplicationController#index as HTML
|
597
|
-
Completed 200 OK in 0ms (Allocations: 172)
|
598
|
-
--------------------------------------------------------
|
599
|
-
AngularRailsCsrfTest: test_the_domain_is_used_if_present
|
600
|
-
--------------------------------------------------------
|
601
|
-
Processing by ApplicationController#index as HTML
|
602
|
-
Completed 200 OK in 0ms (Allocations: 119)
|
69
|
+
Completed 422 Unprocessable Entity in 0ms (Allocations: 98)
|
603
70
|
-----------------------------------------------------------
|
604
71
|
AngularRailsCsrfTest: test_a_custom_name_is_used_if_present
|
605
72
|
-----------------------------------------------------------
|
606
73
|
Processing by ApplicationController#index as HTML
|
607
|
-
Completed 200 OK in 0ms (Allocations:
|
608
|
-
-----------------------------------------------------------------------------------------------------
|
609
|
-
AngularRailsCsrfTest: test_a_post_raises_an_error_with_the_X-XSRF-TOKEN_header_set_to_the_wrong_value
|
610
|
-
-----------------------------------------------------------------------------------------------------
|
611
|
-
Processing by ApplicationController#create as HTML
|
612
|
-
Can't verify CSRF token authenticity.
|
613
|
-
Completed 422 Unprocessable Entity in 0ms (Allocations: 116)
|
614
|
-
-----------------------------------------------------------------------------
|
615
|
-
AngularRailsCsrfTest: test_a_post_is_accepted_if_X-XSRF-TOKEN_is_set_properly
|
616
|
-
-----------------------------------------------------------------------------
|
617
|
-
Processing by ApplicationController#create as HTML
|
618
|
-
Completed 200 OK in 0ms (Allocations: 136)
|
619
|
-
-------------------------------------------------------------------------------------
|
620
|
-
AngularRailsCsrfTest: test_a_post_raises_an_error_without_the_X-XSRF-TOKEN_header_set
|
621
|
-
-------------------------------------------------------------------------------------
|
622
|
-
Processing by ApplicationController#create as HTML
|
623
|
-
Can't verify CSRF token authenticity.
|
624
|
-
Completed 422 Unprocessable Entity in 0ms (Allocations: 98)
|
625
|
-
----------------------------------------------------------------------------
|
626
|
-
AngularRailsCsrfExceptionTest: test_a_get_does_not_set_the_XSRF-TOKEN_cookie
|
627
|
-
----------------------------------------------------------------------------
|
628
|
-
Processing by ExclusionsController#index as HTML
|
629
|
-
Completed 200 OK in 0ms (Allocations: 71)
|
74
|
+
Completed 200 OK in 0ms (Allocations: 106)
|
630
75
|
--------------------------------------------------------
|
631
76
|
AngularRailsCsrfTest: test_the_domain_is_used_if_present
|
632
77
|
--------------------------------------------------------
|
633
78
|
Processing by ApplicationController#index as HTML
|
634
|
-
Completed 200 OK in 0ms (Allocations: 183)
|
635
|
-
-------------------------------------------------------------------------------------
|
636
|
-
AngularRailsCsrfTest: test_a_post_raises_an_error_without_the_X-XSRF-TOKEN_header_set
|
637
|
-
-------------------------------------------------------------------------------------
|
638
|
-
Processing by ApplicationController#create as HTML
|
639
|
-
Can't verify CSRF token authenticity.
|
640
|
-
Completed 422 Unprocessable Entity in 0ms (Allocations: 111)
|
641
|
-
-----------------------------------------------------------------------------
|
642
|
-
AngularRailsCsrfTest: test_a_post_is_accepted_if_X-XSRF-TOKEN_is_set_properly
|
643
|
-
-----------------------------------------------------------------------------
|
644
|
-
Processing by ApplicationController#create as HTML
|
645
|
-
Completed 200 OK in 0ms (Allocations: 136)
|
646
|
-
-----------------------------------------------------------------------------------------------------
|
647
|
-
AngularRailsCsrfTest: test_a_post_raises_an_error_with_the_X-XSRF-TOKEN_header_set_to_the_wrong_value
|
648
|
-
-----------------------------------------------------------------------------------------------------
|
649
|
-
Processing by ApplicationController#create as HTML
|
650
|
-
Can't verify CSRF token authenticity.
|
651
|
-
Completed 422 Unprocessable Entity in 0ms (Allocations: 103)
|
652
|
-
--------------------------------------------------------------------------------------------------------
|
653
|
-
AngularRailsCsrfTest: test_a_get_sets_the_XSRF-TOKEN_cookie_but_does_not_require_the_X-XSRF-TOKEN_header
|
654
|
-
--------------------------------------------------------------------------------------------------------
|
655
|
-
Processing by ApplicationController#index as HTML
|
656
|
-
Completed 200 OK in 0ms (Allocations: 117)
|
657
|
-
-----------------------------------------------------------
|
658
|
-
AngularRailsCsrfTest: test_a_custom_name_is_used_if_present
|
659
|
-
-----------------------------------------------------------
|
660
|
-
Processing by ApplicationController#index as HTML
|
661
79
|
Completed 200 OK in 0ms (Allocations: 117)
|
662
80
|
----------------------------------------------------------------------------
|
663
81
|
AngularRailsCsrfExceptionTest: test_a_get_does_not_set_the_XSRF-TOKEN_cookie
|
664
82
|
----------------------------------------------------------------------------
|
665
83
|
Processing by ExclusionsController#index as HTML
|
666
84
|
Completed 200 OK in 0ms (Allocations: 71)
|
667
|
-
----------------------------------------------------------------------------
|
668
|
-
AngularRailsCsrfExceptionTest: test_a_get_does_not_set_the_XSRF-TOKEN_cookie
|
669
|
-
----------------------------------------------------------------------------
|
670
|
-
Processing by ExclusionsController#index as HTML
|
671
|
-
Completed 200 OK in 0ms (Allocations: 128)
|
672
|
-
-----------------------------------------------------------
|
673
|
-
AngularRailsCsrfTest: test_a_custom_name_is_used_if_present
|
674
|
-
-----------------------------------------------------------
|
675
|
-
Processing by ApplicationController#index as HTML
|
676
|
-
Completed 200 OK in 0ms (Allocations: 109)
|
677
|
-
--------------------------------------------------------
|
678
|
-
AngularRailsCsrfTest: test_the_domain_is_used_if_present
|
679
|
-
--------------------------------------------------------
|
680
|
-
Processing by ApplicationController#index as HTML
|
681
|
-
Completed 200 OK in 0ms (Allocations: 119)
|
682
|
-
-------------------------------------------------------------------------------------
|
683
|
-
AngularRailsCsrfTest: test_a_post_raises_an_error_without_the_X-XSRF-TOKEN_header_set
|
684
|
-
-------------------------------------------------------------------------------------
|
685
|
-
Processing by ApplicationController#create as HTML
|
686
|
-
Can't verify CSRF token authenticity.
|
687
|
-
Completed 422 Unprocessable Entity in 0ms (Allocations: 111)
|
688
|
-
--------------------------------------------------------------------------------------------------------
|
689
|
-
AngularRailsCsrfTest: test_a_get_sets_the_XSRF-TOKEN_cookie_but_does_not_require_the_X-XSRF-TOKEN_header
|
690
|
-
--------------------------------------------------------------------------------------------------------
|
691
|
-
Processing by ApplicationController#index as HTML
|
692
|
-
Completed 200 OK in 0ms (Allocations: 117)
|
693
|
-
-----------------------------------------------------------------------------------------------------
|
694
|
-
AngularRailsCsrfTest: test_a_post_raises_an_error_with_the_X-XSRF-TOKEN_header_set_to_the_wrong_value
|
695
|
-
-----------------------------------------------------------------------------------------------------
|
696
|
-
Processing by ApplicationController#create as HTML
|
697
|
-
Can't verify CSRF token authenticity.
|
698
|
-
Completed 422 Unprocessable Entity in 0ms (Allocations: 103)
|
699
|
-
-----------------------------------------------------------------------------
|
700
|
-
AngularRailsCsrfTest: test_a_post_is_accepted_if_X-XSRF-TOKEN_is_set_properly
|
701
|
-
-----------------------------------------------------------------------------
|
702
|
-
Processing by ApplicationController#create as HTML
|
703
|
-
Completed 200 OK in 0ms (Allocations: 136)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: angular_rails_csrf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0
|
4
|
+
version: 4.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Sanders
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2020-02-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|