]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Author: Diego Woitasen <diegows@xtech.com.ar>
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 25 Feb 2010 00:27:32 +0000 (13:27 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 25 Feb 2010 00:27:32 +0000 (13:27 +1300)
Bug 2507: squid_ldap_group: Strip Domain name separated by +

helpers/external_acl/ldap_group/squid_ldap_group.c

index abf970ef04f5607f7d9d2627fde21a03c0de58c2..7420980562328f0214791b531588de8c10ca59d4 100644 (file)
@@ -476,6 +476,8 @@ main(int argc, char **argv)
             char *u = strrchr(user, '\\');
             if (!u)
                 u = strrchr(user, '/');
+            if (!u)
+                u = strrchr(user, '+');
             if (u && u[1])
                 user = u + 1;
         }