angular_rails_csrf 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/angular_rails_csrf/concern.rb +1 -1
- data/lib/angular_rails_csrf/version.rb +1 -1
- data/test/dummy/log/test.log +351 -1
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 740300b724cfd8f8500d162de60d9612e63bd91a
|
4
|
+
data.tar.gz: fb9b28c509ab59f4aba0f58b0e66a7f77e5e6ad8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e75a70015061b20556083b86d38d8d88b7df068f756884b6257bed2b3b52d0b52e99d50ecc58b64205ca52a84807371db9234e0fbc7362c33bc0198a5a2dcfb
|
7
|
+
data.tar.gz: deb899582b48662cc2eeceb1333d1b4c446b7e8285da102aefd26d4f8099a18371fee3a83d13dc05963f7eabf0cc30acc5f5898c32e50a01f46d8420f7fe64a4
|
data/test/dummy/log/test.log
CHANGED
@@ -7,6 +7,28 @@ Completed 200 OK in 0ms
|
|
7
7
|
AngularRailsCsrfTest: test_a_post_is_accepted_if_X-XSRF-TOKEN_is_set_properly
|
8
8
|
-----------------------------------------------------------------------------
|
9
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 0ms
|
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
|
+
--------------------------------------------------------------------------------------------------------
|
24
|
+
AngularRailsCsrfTest: test_a_get_sets_the_XSRF-TOKEN_cookie_but_does_not_require_the_X-XSRF-TOKEN_header
|
25
|
+
--------------------------------------------------------------------------------------------------------
|
26
|
+
Processing by ApplicationController#index as HTML
|
27
|
+
Completed 200 OK in 0ms
|
28
|
+
-----------------------------------------------------------------------------
|
29
|
+
AngularRailsCsrfTest: test_a_post_is_accepted_if_X-XSRF-TOKEN_is_set_properly
|
30
|
+
-----------------------------------------------------------------------------
|
31
|
+
Processing by ApplicationController#create as HTML
|
10
32
|
Completed 200 OK in 0ms
|
11
33
|
-----------------------------------------------------------------------------------------------------
|
12
34
|
AngularRailsCsrfTest: test_a_post_raises_an_error_with_the_X-XSRF-TOKEN_header_set_to_the_wrong_value
|
@@ -64,6 +86,238 @@ AngularRailsCsrfTest: test_a_post_raises_an_error_without_the_X-XSRF-TOKEN_heade
|
|
64
86
|
Processing by ApplicationController#create as HTML
|
65
87
|
Can't verify CSRF token authenticity
|
66
88
|
Completed 422 Unprocessable Entity in 0ms
|
89
|
+
Processing by ApplicationController#index as HTML
|
90
|
+
Completed 200 OK in 0.2ms
|
91
|
+
Processing by ApplicationController#create as HTML
|
92
|
+
WARNING: Can't verify CSRF token authenticity
|
93
|
+
Completed 200 OK in 0.3ms
|
94
|
+
Processing by ApplicationController#create as HTML
|
95
|
+
WARNING: Can't verify CSRF token authenticity
|
96
|
+
Completed 200 OK in 0.1ms
|
97
|
+
Processing by ApplicationController#create as HTML
|
98
|
+
WARNING: Can't verify CSRF token authenticity
|
99
|
+
Completed 200 OK in 0.1ms
|
100
|
+
Processing by ApplicationController#index as HTML
|
101
|
+
Completed 200 OK in 0ms
|
102
|
+
Processing by ApplicationController#create as HTML
|
103
|
+
WARNING: Can't verify CSRF token authenticity
|
104
|
+
Completed 200 OK in 0ms
|
105
|
+
Processing by ApplicationController#create as HTML
|
106
|
+
WARNING: Can't verify CSRF token authenticity
|
107
|
+
Completed 200 OK in 0ms
|
108
|
+
Processing by ApplicationController#create as HTML
|
109
|
+
WARNING: Can't verify CSRF token authenticity
|
110
|
+
Completed 200 OK in 0ms
|
111
|
+
Processing by ApplicationController#index as HTML
|
112
|
+
Completed 200 OK in 0ms
|
113
|
+
Processing by ApplicationController#create as HTML
|
114
|
+
WARNING: Can't verify CSRF token authenticity
|
115
|
+
Completed 200 OK in 0ms
|
116
|
+
Processing by ApplicationController#create as HTML
|
117
|
+
WARNING: Can't verify CSRF token authenticity
|
118
|
+
Completed 200 OK in 0ms
|
119
|
+
Processing by ApplicationController#create as HTML
|
120
|
+
WARNING: Can't verify CSRF token authenticity
|
121
|
+
Completed 200 OK in 0ms
|
122
|
+
|
123
|
+
***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
|
124
|
+
Processing by ApplicationController#index as HTML
|
125
|
+
Completed 200 OK in 0ms
|
126
|
+
Processing by ApplicationController#create as HTML
|
127
|
+
WARNING: Can't verify CSRF token authenticity
|
128
|
+
Completed 200 OK in 0ms
|
129
|
+
Processing by ApplicationController#create as HTML
|
130
|
+
WARNING: Can't verify CSRF token authenticity
|
131
|
+
Completed 200 OK in 0ms
|
132
|
+
Processing by ApplicationController#create as HTML
|
133
|
+
WARNING: Can't verify CSRF token authenticity
|
134
|
+
Completed 200 OK in 0ms
|
135
|
+
Processing by ApplicationController#index as HTML
|
136
|
+
Completed 200 OK in 0ms
|
137
|
+
Processing by ApplicationController#create as HTML
|
138
|
+
WARNING: Can't verify CSRF token authenticity
|
139
|
+
Completed 200 OK in 0ms
|
140
|
+
Processing by ApplicationController#create as HTML
|
141
|
+
WARNING: Can't verify CSRF token authenticity
|
142
|
+
Completed 200 OK in 0ms
|
143
|
+
Processing by ApplicationController#create as HTML
|
144
|
+
WARNING: Can't verify CSRF token authenticity
|
145
|
+
Completed 200 OK in 0ms
|
146
|
+
Processing by ApplicationController#index as HTML
|
147
|
+
Completed 200 OK in 0ms
|
148
|
+
Processing by ApplicationController#create as HTML
|
149
|
+
WARNING: Can't verify CSRF token authenticity
|
150
|
+
Completed 200 OK in 0ms
|
151
|
+
Processing by ApplicationController#create as HTML
|
152
|
+
WARNING: Can't verify CSRF token authenticity
|
153
|
+
Completed 200 OK in 0ms
|
154
|
+
Processing by ApplicationController#create as HTML
|
155
|
+
WARNING: Can't verify CSRF token authenticity
|
156
|
+
Completed 200 OK in 0ms
|
157
|
+
Processing by ApplicationController#index as HTML
|
158
|
+
Completed 200 OK in 0ms
|
159
|
+
Processing by ApplicationController#create as HTML
|
160
|
+
WARNING: Can't verify CSRF token authenticity
|
161
|
+
Completed 200 OK in 0ms
|
162
|
+
Processing by ApplicationController#create as HTML
|
163
|
+
WARNING: Can't verify CSRF token authenticity
|
164
|
+
Completed 200 OK in 0ms
|
165
|
+
Processing by ApplicationController#index as HTML
|
166
|
+
Completed 200 OK in 33857ms
|
167
|
+
Processing by ApplicationController#index as HTML
|
168
|
+
Processing by ApplicationController#index as HTML
|
169
|
+
Completed 200 OK in 15337ms
|
170
|
+
Processing by ApplicationController#create as HTML
|
171
|
+
WARNING: Can't verify CSRF token authenticity
|
172
|
+
Completed 200 OK in 94657ms
|
173
|
+
Processing by ApplicationController#create as HTML
|
174
|
+
WARNING: Can't verify CSRF token authenticity
|
175
|
+
Processing by ApplicationController#index as HTML
|
176
|
+
Processing by ApplicationController#index as HTML
|
177
|
+
Completed 200 OK in 7498ms
|
178
|
+
Processing by ApplicationController#create as HTML
|
179
|
+
WARNING: Can't verify CSRF token authenticity
|
180
|
+
Completed 200 OK in 1204ms
|
181
|
+
Processing by ApplicationController#create as HTML
|
182
|
+
WARNING: Can't verify CSRF token authenticity
|
183
|
+
Completed 500 Internal Server Error in 49631ms
|
184
|
+
Processing by ApplicationController#create as HTML
|
185
|
+
WARNING: Can't verify CSRF token authenticity
|
186
|
+
Completed 200 OK in 11900ms
|
187
|
+
Processing by ApplicationController#index as HTML
|
188
|
+
Completed 200 OK in 2198ms
|
189
|
+
Processing by ApplicationController#create as HTML
|
190
|
+
WARNING: Can't verify CSRF token authenticity
|
191
|
+
Completed 200 OK in 1333ms
|
192
|
+
Processing by ApplicationController#create as HTML
|
193
|
+
WARNING: Can't verify CSRF token authenticity
|
194
|
+
Completed 200 OK in 1428ms
|
195
|
+
Processing by ApplicationController#create as HTML
|
196
|
+
WARNING: Can't verify CSRF token authenticity
|
197
|
+
Completed 200 OK in 1525ms
|
198
|
+
Processing by ApplicationController#index as HTML
|
199
|
+
Completed 200 OK in 876ms
|
200
|
+
Processing by ApplicationController#create as HTML
|
201
|
+
WARNING: Can't verify CSRF token authenticity
|
202
|
+
Processing by ApplicationController#index as HTML
|
203
|
+
Completed 200 OK in 2694ms
|
204
|
+
Processing by ApplicationController#create as HTML
|
205
|
+
WARNING: Can't verify CSRF token authenticity
|
206
|
+
Completed 422 Unprocessable Entity in 429ms
|
207
|
+
Processing by ApplicationController#create as HTML
|
208
|
+
WARNING: Can't verify CSRF token authenticity
|
209
|
+
Completed 422 Unprocessable Entity in 392ms
|
210
|
+
Processing by ApplicationController#create as HTML
|
211
|
+
WARNING: Can't verify CSRF token authenticity
|
212
|
+
Completed 422 Unprocessable Entity in 473ms
|
213
|
+
Processing by ApplicationController#index as HTML
|
214
|
+
Completed 200 OK in 0ms
|
215
|
+
Processing by ApplicationController#create as HTML
|
216
|
+
WARNING: Can't verify CSRF token authenticity
|
217
|
+
Completed 422 Unprocessable Entity in 0ms
|
218
|
+
Processing by ApplicationController#create as HTML
|
219
|
+
WARNING: Can't verify CSRF token authenticity
|
220
|
+
Completed 422 Unprocessable Entity in 0ms
|
221
|
+
Processing by ApplicationController#create as HTML
|
222
|
+
WARNING: Can't verify CSRF token authenticity
|
223
|
+
Completed 422 Unprocessable Entity in 0ms
|
224
|
+
Processing by ApplicationController#index as HTML
|
225
|
+
Completed 200 OK in 14358ms
|
226
|
+
Processing by ApplicationController#create as HTML
|
227
|
+
WARNING: Can't verify CSRF token authenticity
|
228
|
+
Completed 422 Unprocessable Entity in 8244ms
|
229
|
+
Processing by ApplicationController#create as HTML
|
230
|
+
WARNING: Can't verify CSRF token authenticity
|
231
|
+
Completed 422 Unprocessable Entity in 3772ms
|
232
|
+
Processing by ApplicationController#create as HTML
|
233
|
+
WARNING: Can't verify CSRF token authenticity
|
234
|
+
Completed 422 Unprocessable Entity in 134031ms
|
235
|
+
Processing by ApplicationController#index as HTML
|
236
|
+
Completed 200 OK in 2903ms
|
237
|
+
Processing by ApplicationController#index as HTML
|
238
|
+
Completed 200 OK in 14568ms
|
239
|
+
Processing by ApplicationController#create as HTML
|
240
|
+
Completed 200 OK in 34950ms
|
241
|
+
Processing by ApplicationController#create as HTML
|
242
|
+
WARNING: Can't verify CSRF token authenticity
|
243
|
+
Completed 422 Unprocessable Entity in 964ms
|
244
|
+
Processing by ApplicationController#create as HTML
|
245
|
+
WARNING: Can't verify CSRF token authenticity
|
246
|
+
Completed 422 Unprocessable Entity in 461ms
|
247
|
+
Processing by ApplicationController#index as HTML
|
248
|
+
Completed 200 OK in 0ms
|
249
|
+
Processing by ApplicationController#create as HTML
|
250
|
+
Completed 200 OK in 0ms
|
251
|
+
Processing by ApplicationController#create as HTML
|
252
|
+
WARNING: Can't verify CSRF token authenticity
|
253
|
+
Completed 422 Unprocessable Entity in 0ms
|
254
|
+
Processing by ApplicationController#create as HTML
|
255
|
+
WARNING: Can't verify CSRF token authenticity
|
256
|
+
Completed 422 Unprocessable Entity in 0ms
|
257
|
+
Processing by ApplicationController#index as HTML
|
258
|
+
Completed 200 OK in 0ms
|
259
|
+
Processing by ApplicationController#create as HTML
|
260
|
+
Completed 200 OK in 0ms
|
261
|
+
Processing by ApplicationController#create as HTML
|
262
|
+
Completed 422 Unprocessable Entity in 0ms
|
263
|
+
Processing by ApplicationController#create as HTML
|
264
|
+
Completed 422 Unprocessable Entity in 0ms
|
265
|
+
Processing by ApplicationController#index as HTML
|
266
|
+
Completed 200 OK in 0.3ms
|
267
|
+
Processing by ApplicationController#create as HTML
|
268
|
+
Completed 200 OK in 0.3ms
|
269
|
+
Processing by ApplicationController#create as HTML
|
270
|
+
WARNING: Can't verify CSRF token authenticity
|
271
|
+
Completed 422 Unprocessable Entity in 0.2ms
|
272
|
+
Processing by ApplicationController#create as HTML
|
273
|
+
WARNING: Can't verify CSRF token authenticity
|
274
|
+
Completed 422 Unprocessable Entity in 0.1ms
|
275
|
+
--------------------------------------------------------------------------------------------------------
|
276
|
+
AngularRailsCsrfTest: test_a_get_sets_the_XSRF-TOKEN_cookie_but_does_not_require_the_X-XSRF-TOKEN_header
|
277
|
+
--------------------------------------------------------------------------------------------------------
|
278
|
+
Processing by ApplicationController#index as HTML
|
279
|
+
Completed 200 OK in 0ms
|
280
|
+
-----------------------------------------------------------------------------
|
281
|
+
AngularRailsCsrfTest: test_a_post_is_accepted_if_X-XSRF-TOKEN_is_set_properly
|
282
|
+
-----------------------------------------------------------------------------
|
283
|
+
Processing by ApplicationController#create as HTML
|
284
|
+
Can't verify CSRF token authenticity
|
285
|
+
Completed 422 Unprocessable Entity in 0ms
|
286
|
+
-----------------------------------------------------------------------------------------------------
|
287
|
+
AngularRailsCsrfTest: test_a_post_raises_an_error_with_the_X-XSRF-TOKEN_header_set_to_the_wrong_value
|
288
|
+
-----------------------------------------------------------------------------------------------------
|
289
|
+
Processing by ApplicationController#create as HTML
|
290
|
+
Can't verify CSRF token authenticity
|
291
|
+
Completed 422 Unprocessable Entity in 0ms
|
292
|
+
-------------------------------------------------------------------------------------
|
293
|
+
AngularRailsCsrfTest: test_a_post_raises_an_error_without_the_X-XSRF-TOKEN_header_set
|
294
|
+
-------------------------------------------------------------------------------------
|
295
|
+
Processing by ApplicationController#create as HTML
|
296
|
+
Can't verify CSRF token authenticity
|
297
|
+
Completed 422 Unprocessable Entity in 0ms
|
298
|
+
--------------------------------------------------------------------------------------------------------
|
299
|
+
AngularRailsCsrfTest: test_a_get_sets_the_XSRF-TOKEN_cookie_but_does_not_require_the_X-XSRF-TOKEN_header
|
300
|
+
--------------------------------------------------------------------------------------------------------
|
301
|
+
Processing by ApplicationController#index as HTML
|
302
|
+
Completed 200 OK in 0ms
|
303
|
+
-----------------------------------------------------------------------------
|
304
|
+
AngularRailsCsrfTest: test_a_post_is_accepted_if_X-XSRF-TOKEN_is_set_properly
|
305
|
+
-----------------------------------------------------------------------------
|
306
|
+
Processing by ApplicationController#create as HTML
|
307
|
+
Can't verify CSRF token authenticity
|
308
|
+
Completed 422 Unprocessable Entity in 0ms
|
309
|
+
-----------------------------------------------------------------------------------------------------
|
310
|
+
AngularRailsCsrfTest: test_a_post_raises_an_error_with_the_X-XSRF-TOKEN_header_set_to_the_wrong_value
|
311
|
+
-----------------------------------------------------------------------------------------------------
|
312
|
+
Processing by ApplicationController#create as HTML
|
313
|
+
Can't verify CSRF token authenticity
|
314
|
+
Completed 422 Unprocessable Entity in 0ms
|
315
|
+
-------------------------------------------------------------------------------------
|
316
|
+
AngularRailsCsrfTest: test_a_post_raises_an_error_without_the_X-XSRF-TOKEN_header_set
|
317
|
+
-------------------------------------------------------------------------------------
|
318
|
+
Processing by ApplicationController#create as HTML
|
319
|
+
Can't verify CSRF token authenticity
|
320
|
+
Completed 422 Unprocessable Entity in 0ms
|
67
321
|
--------------------------------------------------------------------------------------------------------
|
68
322
|
AngularRailsCsrfTest: test_a_get_sets_the_XSRF-TOKEN_cookie_but_does_not_require_the_X-XSRF-TOKEN_header
|
69
323
|
--------------------------------------------------------------------------------------------------------
|
@@ -86,6 +340,42 @@ AngularRailsCsrfTest: test_a_post_raises_an_error_without_the_X-XSRF-TOKEN_heade
|
|
86
340
|
Processing by ApplicationController#create as HTML
|
87
341
|
Can't verify CSRF token authenticity
|
88
342
|
Completed 422 Unprocessable Entity in 0ms
|
343
|
+
Processing by ApplicationController#index as HTML
|
344
|
+
Completed 200 OK in 0ms
|
345
|
+
Processing by ApplicationController#create as HTML
|
346
|
+
Completed 200 OK in 0ms
|
347
|
+
Processing by ApplicationController#create as HTML
|
348
|
+
Completed 422 Unprocessable Entity in 0ms
|
349
|
+
Processing by ApplicationController#create as HTML
|
350
|
+
Completed 422 Unprocessable Entity in 0ms
|
351
|
+
Processing by ApplicationController#index as HTML
|
352
|
+
Completed 200 OK in 0ms
|
353
|
+
Processing by ApplicationController#create as HTML
|
354
|
+
Completed 200 OK in 0ms
|
355
|
+
Processing by ApplicationController#create as HTML
|
356
|
+
Completed 422 Unprocessable Entity in 0ms
|
357
|
+
Processing by ApplicationController#create as HTML
|
358
|
+
Completed 422 Unprocessable Entity in 0ms
|
359
|
+
Processing by ApplicationController#index as HTML
|
360
|
+
Completed 200 OK in 0ms
|
361
|
+
Processing by ApplicationController#create as HTML
|
362
|
+
Completed 200 OK in 0ms
|
363
|
+
Processing by ApplicationController#create as HTML
|
364
|
+
WARNING: Can't verify CSRF token authenticity
|
365
|
+
Completed 422 Unprocessable Entity in 0ms
|
366
|
+
Processing by ApplicationController#create as HTML
|
367
|
+
WARNING: Can't verify CSRF token authenticity
|
368
|
+
Completed 422 Unprocessable Entity in 0ms
|
369
|
+
Processing by ApplicationController#index as HTML
|
370
|
+
Completed 200 OK in 0.3ms
|
371
|
+
Processing by ApplicationController#create as HTML
|
372
|
+
Completed 200 OK in 0.3ms
|
373
|
+
Processing by ApplicationController#create as HTML
|
374
|
+
WARNING: Can't verify CSRF token authenticity
|
375
|
+
Completed 422 Unprocessable Entity in 0.1ms
|
376
|
+
Processing by ApplicationController#create as HTML
|
377
|
+
WARNING: Can't verify CSRF token authenticity
|
378
|
+
Completed 422 Unprocessable Entity in 0.1ms
|
89
379
|
--------------------------------------------------------------------------------------------------------
|
90
380
|
AngularRailsCsrfTest: test_a_get_sets_the_XSRF-TOKEN_cookie_but_does_not_require_the_X-XSRF-TOKEN_header
|
91
381
|
--------------------------------------------------------------------------------------------------------
|
@@ -112,7 +402,7 @@ Completed 422 Unprocessable Entity in 0ms
|
|
112
402
|
AngularRailsCsrfTest: test_a_get_sets_the_XSRF-TOKEN_cookie_but_does_not_require_the_X-XSRF-TOKEN_header
|
113
403
|
--------------------------------------------------------------------------------------------------------
|
114
404
|
Processing by ApplicationController#index as HTML
|
115
|
-
Completed 200 OK in
|
405
|
+
Completed 200 OK in 0ms
|
116
406
|
-----------------------------------------------------------------------------
|
117
407
|
AngularRailsCsrfTest: test_a_post_is_accepted_if_X-XSRF-TOKEN_is_set_properly
|
118
408
|
-----------------------------------------------------------------------------
|
@@ -145,6 +435,28 @@ AngularRailsCsrfTest: test_a_post_raises_an_error_with_the_X-XSRF-TOKEN_header_s
|
|
145
435
|
-----------------------------------------------------------------------------------------------------
|
146
436
|
Processing by ApplicationController#create as HTML
|
147
437
|
Can't verify CSRF token authenticity
|
438
|
+
Completed 422 Unprocessable Entity in 1ms
|
439
|
+
-------------------------------------------------------------------------------------
|
440
|
+
AngularRailsCsrfTest: test_a_post_raises_an_error_without_the_X-XSRF-TOKEN_header_set
|
441
|
+
-------------------------------------------------------------------------------------
|
442
|
+
Processing by ApplicationController#create as HTML
|
443
|
+
Can't verify CSRF token authenticity
|
444
|
+
Completed 422 Unprocessable Entity in 0ms
|
445
|
+
--------------------------------------------------------------------------------------------------------
|
446
|
+
AngularRailsCsrfTest: test_a_get_sets_the_XSRF-TOKEN_cookie_but_does_not_require_the_X-XSRF-TOKEN_header
|
447
|
+
--------------------------------------------------------------------------------------------------------
|
448
|
+
Processing by ApplicationController#index as HTML
|
449
|
+
Completed 200 OK in 0ms
|
450
|
+
-----------------------------------------------------------------------------
|
451
|
+
AngularRailsCsrfTest: test_a_post_is_accepted_if_X-XSRF-TOKEN_is_set_properly
|
452
|
+
-----------------------------------------------------------------------------
|
453
|
+
Processing by ApplicationController#create as HTML
|
454
|
+
Completed 200 OK in 17ms
|
455
|
+
-----------------------------------------------------------------------------------------------------
|
456
|
+
AngularRailsCsrfTest: test_a_post_raises_an_error_with_the_X-XSRF-TOKEN_header_set_to_the_wrong_value
|
457
|
+
-----------------------------------------------------------------------------------------------------
|
458
|
+
Processing by ApplicationController#create as HTML
|
459
|
+
Can't verify CSRF token authenticity
|
148
460
|
Completed 422 Unprocessable Entity in 0ms
|
149
461
|
-------------------------------------------------------------------------------------
|
150
462
|
AngularRailsCsrfTest: test_a_post_raises_an_error_without_the_X-XSRF-TOKEN_header_set
|
@@ -173,6 +485,22 @@ AngularRailsCsrfTest: test_a_post_raises_an_error_without_the_X-XSRF-TOKEN_heade
|
|
173
485
|
-------------------------------------------------------------------------------------
|
174
486
|
Processing by ApplicationController#create as HTML
|
175
487
|
Can't verify CSRF token authenticity
|
488
|
+
Completed 422 Unprocessable Entity in 0ms
|
489
|
+
Processing by ApplicationController#index as HTML
|
490
|
+
Completed 200 OK in 0ms
|
491
|
+
Processing by ApplicationController#create as HTML
|
492
|
+
Completed 200 OK in 0ms
|
493
|
+
Processing by ApplicationController#create as HTML
|
494
|
+
Completed 422 Unprocessable Entity in 0ms
|
495
|
+
Processing by ApplicationController#create as HTML
|
496
|
+
Completed 422 Unprocessable Entity in 0ms
|
497
|
+
Processing by ApplicationController#index as HTML
|
498
|
+
Completed 200 OK in 0ms
|
499
|
+
Processing by ApplicationController#create as HTML
|
500
|
+
Completed 200 OK in 0ms
|
501
|
+
Processing by ApplicationController#create as HTML
|
502
|
+
Completed 422 Unprocessable Entity in 0ms
|
503
|
+
Processing by ApplicationController#create as HTML
|
176
504
|
Completed 422 Unprocessable Entity in 0ms
|
177
505
|
--------------------------------------------------------------------------------------------------------
|
178
506
|
AngularRailsCsrfTest: test_a_get_sets_the_XSRF-TOKEN_cookie_but_does_not_require_the_X-XSRF-TOKEN_header
|
@@ -211,6 +539,28 @@ AngularRailsCsrfTest: test_a_post_raises_an_error_with_the_X-XSRF-TOKEN_header_s
|
|
211
539
|
-----------------------------------------------------------------------------------------------------
|
212
540
|
Processing by ApplicationController#create as HTML
|
213
541
|
Can't verify CSRF token authenticity
|
542
|
+
Completed 422 Unprocessable Entity in 1ms
|
543
|
+
-------------------------------------------------------------------------------------
|
544
|
+
AngularRailsCsrfTest: test_a_post_raises_an_error_without_the_X-XSRF-TOKEN_header_set
|
545
|
+
-------------------------------------------------------------------------------------
|
546
|
+
Processing by ApplicationController#create as HTML
|
547
|
+
Can't verify CSRF token authenticity
|
548
|
+
Completed 422 Unprocessable Entity in 0ms
|
549
|
+
--------------------------------------------------------------------------------------------------------
|
550
|
+
AngularRailsCsrfTest: test_a_get_sets_the_XSRF-TOKEN_cookie_but_does_not_require_the_X-XSRF-TOKEN_header
|
551
|
+
--------------------------------------------------------------------------------------------------------
|
552
|
+
Processing by ApplicationController#index as HTML
|
553
|
+
Completed 200 OK in 0ms
|
554
|
+
-----------------------------------------------------------------------------
|
555
|
+
AngularRailsCsrfTest: test_a_post_is_accepted_if_X-XSRF-TOKEN_is_set_properly
|
556
|
+
-----------------------------------------------------------------------------
|
557
|
+
Processing by ApplicationController#create as HTML
|
558
|
+
Completed 200 OK in 0ms
|
559
|
+
-----------------------------------------------------------------------------------------------------
|
560
|
+
AngularRailsCsrfTest: test_a_post_raises_an_error_with_the_X-XSRF-TOKEN_header_set_to_the_wrong_value
|
561
|
+
-----------------------------------------------------------------------------------------------------
|
562
|
+
Processing by ApplicationController#create as HTML
|
563
|
+
Can't verify CSRF token authenticity
|
214
564
|
Completed 422 Unprocessable Entity in 0ms
|
215
565
|
-------------------------------------------------------------------------------------
|
216
566
|
AngularRailsCsrfTest: test_a_post_raises_an_error_without_the_X-XSRF-TOKEN_header_set
|
metadata
CHANGED
@@ -1,47 +1,47 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: angular_rails_csrf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Sanders
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 10.1.0
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 10.1.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rails
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '3'
|
34
|
-
- - <
|
34
|
+
- - "<"
|
35
35
|
- !ruby/object:Gem::Version
|
36
36
|
version: '5'
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
41
|
-
- -
|
41
|
+
- - ">="
|
42
42
|
- !ruby/object:Gem::Version
|
43
43
|
version: '3'
|
44
|
-
- - <
|
44
|
+
- - "<"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '5'
|
47
47
|
description: AngularJS style CSRF protection for Rails
|
@@ -77,17 +77,17 @@ require_paths:
|
|
77
77
|
- lib
|
78
78
|
required_ruby_version: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
84
84
|
requirements:
|
85
|
-
- -
|
85
|
+
- - ">="
|
86
86
|
- !ruby/object:Gem::Version
|
87
87
|
version: '0'
|
88
88
|
requirements: []
|
89
89
|
rubyforge_project:
|
90
|
-
rubygems_version: 2.
|
90
|
+
rubygems_version: 2.4.5
|
91
91
|
signing_key:
|
92
92
|
specification_version: 4
|
93
93
|
summary: Support for AngularJS $http service style CSRF protection in Rails
|