ocean-rails 1.28.0 → 1.28.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ocean/api.rb +1 -1
- data/lib/ocean/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b98f32e8bf9dea4a338b6a0b915464d4adf004d6
|
4
|
+
data.tar.gz: 6e1d1ba151dbfd287b1c2775149e786633380511
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c636f77f056fd959ae90785da03a73ac56a6bec32c2b29035133f8afd79e8a8deeb48cc5d4652eb0cc9b444da2c294299f5b03d7792cf5a2eb3b6b1aea2a1d2a
|
7
|
+
data.tar.gz: c13ebee04c325446c649e035b6cd3e77a7c150a8be7403da52ca190c9a18493cb913d2986fe978b8e38f9895c7a39702a4e35d5fa4bb5646e2fe88a284c610ff
|
data/lib/ocean/api.rb
CHANGED
@@ -182,7 +182,7 @@ class Api
|
|
182
182
|
# This escapes BAN request paths, which is needed as they are regexes.
|
183
183
|
#
|
184
184
|
def self.escape(path)
|
185
|
-
URI.escape(path, Regexp.new("[
|
185
|
+
URI.escape(path, Regexp.new("[^/$\\-+_.!~*'()\\[\\]a-zA-Z0-9]"))
|
186
186
|
end
|
187
187
|
|
188
188
|
|
data/lib/ocean/version.rb
CHANGED