zimbra_intercepting_proxy 0.0.4.3 → 0.0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/zimbra_intercepting_proxy/user.rb +1 -0
- data/lib/zimbra_intercepting_proxy/version.rb +1 -1
- data/test/test_user.rb +5 -0
- 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: 4c252b4d3f6a2006058703ec346b5079e8643a85
|
4
|
+
data.tar.gz: a3844422f82a76f3f58ea75870840de0a507da59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 102e74a21d901310d8e40053a5bc1a5c72fda1489ad971c05d6eb701311dd9ae986f3c066edd5e4a88d0417c6366bcb51c64def3cf9e31cdaad5c733ea8dd8e6
|
7
|
+
data.tar.gz: 9f6be220d1d03645118d5dd608c2062edb7585b807f64aa5c8cb211a4d6e2f344219399c99c42ca1eb5dcf46c43a822063b05fe20e7b57d603af319b812a44af
|
@@ -49,6 +49,7 @@ module ZimbraInterceptingProxy
|
|
49
49
|
end
|
50
50
|
|
51
51
|
def set_email user_identifier
|
52
|
+
return nil if user_identifier.nil?
|
52
53
|
return user_identifier if user_identifier.match(/@/)
|
53
54
|
return "#{user_identifier}@#{ZimbraInterceptingProxy::Config.domain}" unless UUID.validate user_identifier
|
54
55
|
nil
|
data/test/test_user.rb
CHANGED