wovnrb 0.1.51 → 0.1.52
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wovnrb/headers.rb +2 -1
- data/lib/wovnrb/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: 1ed6e20ceb033c8aded1017ee0169efe87d5fc8f
|
4
|
+
data.tar.gz: adf93478f9e03352754b791ec71c1d802d64d0d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8961a2ec5c5ffcc90a6f967e03e220f21b945a644bcb9318aa4ed75fbf21e2bc3b89c2cc52ab885adb463b96b3b1148e2d87349783eff6c80ba4e09c42478b40
|
7
|
+
data.tar.gz: b9b6adb3bd8281a21a47d9ca3f8e8c0a311d234ab764a014e015013b329fe525e0f166d7247128df85b7f7961929eb76b9913f30703e9c80be34886b0648de3f
|
data/lib/wovnrb/headers.rb
CHANGED
@@ -163,7 +163,8 @@ module Wovnrb
|
|
163
163
|
end
|
164
164
|
|
165
165
|
def out(headers)
|
166
|
-
|
166
|
+
r = Regexp.new("//" + @host)
|
167
|
+
if headers.has_key?("Location") && headers["Location"] =~ r
|
167
168
|
case @settings['url_pattern']
|
168
169
|
when 'query'
|
169
170
|
if headers["Location"] =~ /\?/
|
data/lib/wovnrb/version.rb
CHANGED