Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
f9283b8b
Commit
f9283b8b
authored
Sep 20, 2017
by
Michael Kozono
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reword escaped comma test
parent
c79879f3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
spec/lib/gitlab/ldap/dn_spec.rb
spec/lib/gitlab/ldap/dn_spec.rb
+1
-1
No files found.
spec/lib/gitlab/ldap/dn_spec.rb
View file @
f9283b8b
...
...
@@ -29,8 +29,8 @@ describe Gitlab::LDAP::DN do
'does not strip if no extraneous whitespace'
|
'uid=John Smith,ou=People,dc=example,dc=com'
|
'uid=john smith,ou=people,dc=example,dc=com'
'does not modify an escaped equal sign in an attribute value'
|
'uid= foo \\= bar'
|
'uid=foo \\= bar'
'converts an escaped hex equal sign to an escaped equal sign in an attribute value'
|
'uid= foo \\3D bar'
|
'uid=foo \\= bar'
'does not treat escaped commas as attribute delimiters'
|
'uid= John C. Smith, ou=San Francisco\\, CA'
|
'uid=john c. smith,ou=san francisco\\, ca'
'does not treat escaped hex commas as attribute delimiters'
|
'uid= John C. Smith, ou=San Francisco\\2C CA'
|
'uid=john c. smith,ou=san francisco\\2c ca'
'does not modify an escaped comma in an attribute value'
|
'uid= John C. Smith, ou=San Francisco\\, CA'
|
'uid=john c. smith,ou=san francisco\\, ca'
end
with_them
do
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment