Commit 0df870c0 authored by Sunil Kumar's avatar Sunil Kumar
Browse files

Fix Bug LDAPUrl fails to parse attribute correctly (ITS#3049)

parent f6428fe7
...@@ -697,7 +697,7 @@ public class LDAPUrl implements java.lang.Cloneable,java.io.Serializable ...@@ -697,7 +697,7 @@ public class LDAPUrl implements java.lang.Cloneable,java.io.Serializable
// Parse out the attributes // Parse out the attributes
int scopeStart = url.indexOf('?', scanStart); int scopeStart = url.indexOf('?', scanStart);
if( scopeStart < 0) if( scopeStart < 0)
scopeStart = scanEnd - 1; scopeStart = scanEnd;
attrs = parseList( url, ',', attrsStart + 1, scopeStart); attrs = parseList( url, ',', attrsStart + 1, scopeStart);
if( Debug.LDAP_DEBUG) { if( Debug.LDAP_DEBUG) {
if( attrs != null) { if( attrs != null) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment