offsite_payments 2.6.7 → 2.6.8
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 887575f216bc372f1fa4b5811961183a4f3a175c
|
4
|
+
data.tar.gz: 6197ce5461cc1b2617a83e43b77e4ec68d55bb86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a480dc8207b1cb179e9c9820d26005c8cb530f191dd71695b912623ab0cb0325b7d741cdbbb20c0b3224f2935337a52c07460197082c4532df4aaebeb3225dd4
|
7
|
+
data.tar.gz: c3b76bb2ceb4f082dfd4ef8e3a24b79771b2be5c487450310459aae94c7e222b83aa26875e27d04f55909064de8bf099972121df05f4f481b16421339106f5a8
|
@@ -96,12 +96,12 @@ module OffsitePayments #:nodoc:
|
|
96
96
|
|
97
97
|
def sanitize_fields
|
98
98
|
%w(email phone).each do |field|
|
99
|
-
sanitize_field(@fields[field])
|
99
|
+
@fields[field] = sanitize_field(@fields[field])
|
100
100
|
end
|
101
101
|
end
|
102
102
|
|
103
103
|
def sanitize_field(field)
|
104
|
-
field.gsub
|
104
|
+
field.gsub(/[^a-zA-Z0-9\-_@\/\s.]/, '') if field
|
105
105
|
end
|
106
106
|
end
|
107
107
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: offsite_payments
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.6.
|
4
|
+
version: 2.6.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tobias Luetke
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-03-
|
11
|
+
date: 2018-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|