Changeset 1643
- Timestamp:
- 06/19/08 18:26:22 (3 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/main/php/net/stubbles/peer/ldap/stubLDAPURL.php
r1628 r1643 103 103 { 104 104 // check scheme, user/password & host syntax (in general) 105 if (parent::isValid() !== true) {105 if (parent::isValid() === false) { 106 106 return false; 107 107 } … … 113 113 114 114 // check dn 115 if(preg_match('/^([A-Za-z ]+=[A-Za-z]+,?)*$/', $this->url['base_dn']) === 0) {115 if(preg_match('/^([A-Za-z0-9]+=[A-Za-z0-9 ]+,?)*$/', $this->url['base_dn']) === 0) { 116 116 return false; 117 117 }
