zimbra_intercepting_proxy 0.0.4 → 0.0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -0
- data/lib/zimbra_intercepting_proxy/server.rb +4 -2
- data/lib/zimbra_intercepting_proxy/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f345ce94138c1ff8efc2cd1b020262f422b6b28
|
4
|
+
data.tar.gz: 912237b2a69c2ff996817eec4ecbc002c9f378ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 651eddbf023bc51e68eb5de039d69d17d97366b694e7e52c6f287eab7206c56f15eb3d53c58d59ad2495fb3b55ac365e6af778af0c8ab52bb60b8241b3bcaf28
|
7
|
+
data.tar.gz: 8fed88b3459e1068fd4bdc0d8b8b5f482185fe2256268286598a6cbbc757ffceaaaf04ee0b21d728fd36856eb7ef5db3043c823e6f7af1a6eebff6c72ca73319
|
data/README.md
CHANGED
@@ -50,8 +50,10 @@ module ZimbraInterceptingProxy
|
|
50
50
|
end
|
51
51
|
|
52
52
|
conn.on_response do |backend, resp|
|
53
|
-
|
54
|
-
|
53
|
+
if backend = ZimbraInterceptingProxy::Config.new_backend
|
54
|
+
regex = Regexp.new "Auth-Server: #{new_mbx_local_ip_regex}*"
|
55
|
+
new_resp = resp.gsub(regex, "Auth-Server: #{ZimbraInterceptingProxy::Config.new_backend}")
|
56
|
+
end
|
55
57
|
debug.logger [:on_response, backend, new_resp]
|
56
58
|
new_resp
|
57
59
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zimbra_intercepting_proxy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.4
|
4
|
+
version: 0.0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Patricio Bruna
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: em-proxy
|