cookiefilter 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +5 -4
- data/lib/cookiefilter/version.rb +1 -1
- metadata +14 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: af2b5a8a287b8c2c3dfcda28975f7e85ff368cfe9f203679a9c28123c8d810f9
|
4
|
+
data.tar.gz: 6319cdced9880a03060cc5648706209e20bc444a3dae28e03aa9c43ef4814a65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20d757e6df22b7b99dec9e42aa878f0c08d0053fbc3c420b59c5d6340d4ef59311dd81c55d6267e01329200ff7b5a62c9a9fb69eec1cddec3829b86ce10a1f9c
|
7
|
+
data.tar.gz: 00fd1efc94119fbaf21e02ecc9c16b72cec180a233c75a96d239aa4506029ece1ff4d0df3a5cfd84b36325bf11b5cb5ffb01242bee37b03972d962acd9634d40
|
data/README.md
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
[![Build Status](https://travis-ci.org/StefanWallin/cookiefilter-rails.svg?branch=master)](https://travis-ci.org/StefanWallin/cookiefilter-rails)
|
2
|
+
[![Gem Version](https://badge.fury.io/rb/cookiefilter.svg)](https://badge.fury.io/rb/cookiefilter)
|
2
3
|
# Cookiefilter
|
3
4
|
Cookie Filter uses a developer defined safelist of allowed cookies and their
|
4
|
-
values to filter cookies that are not allowed by the safelist configuration.
|
5
|
-
This gem filters both incoming cookies from the browser and what cookies can
|
6
|
-
be set from rails. I want to thank MittMedia DMU for allowing me to open source
|
5
|
+
values to filter cookies that are not allowed by the safelist configuration.
|
6
|
+
This gem filters both incoming cookies from the browser and what cookies can
|
7
|
+
be set from rails. I want to thank MittMedia DMU for allowing me to open source
|
7
8
|
this piece of code. We are always looking for new developers ;).
|
8
9
|
|
9
10
|
## When would I use this?
|
@@ -15,7 +16,7 @@ this piece of code. We are always looking for new developers ;).
|
|
15
16
|
interpret that request as an attack and serves back a white page)
|
16
17
|
- If you're already running mod_security or similar web firewalls and need to
|
17
18
|
complement with cookie filtering.
|
18
|
-
|
19
|
+
|
19
20
|
## Performance
|
20
21
|
Measurment has shown that this filter adds less than 1ms per request.
|
21
22
|
|
data/lib/cookiefilter/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cookiefilter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefan Wallin
|
@@ -16,46 +16,44 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 5.1.
|
19
|
+
version: 5.1.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 5.1.
|
26
|
+
version: 5.1.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: faker
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 1.8.4
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 1.8.4
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: byebug
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 9.1.0
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
55
|
-
description:
|
56
|
-
|
57
|
-
allowed cookies and their values to filter cookies that do \
|
58
|
-
not live up to the standard.
|
54
|
+
version: 9.1.0
|
55
|
+
description: Cookie Filter uses a developer defined safelist of allowed cookies and
|
56
|
+
their values to filter cookies that do not live up to the standard.
|
59
57
|
email:
|
60
58
|
- cookiefilter@stefan-wallin.se
|
61
59
|
executables: []
|
@@ -92,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
92
90
|
version: '0'
|
93
91
|
requirements: []
|
94
92
|
rubyforge_project:
|
95
|
-
rubygems_version: 2.
|
93
|
+
rubygems_version: 2.7.2
|
96
94
|
signing_key:
|
97
95
|
specification_version: 4
|
98
96
|
summary: Whitelist your users cookies for your domain.
|