BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
ed07faf2
Commit
ed07faf2
authored
Oct 03, 2017
by
Michael Kozono
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove telephoneNumber format comment
Since that behavior changed, and is now under the malformed DN context.
parent
689eea5a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
dn_spec.rb
spec/lib/gitlab/ldap/dn_spec.rb
+0
-6
No files found.
spec/lib/gitlab/ldap/dn_spec.rb
View file @
ed07faf2
...
...
@@ -6,12 +6,6 @@ describe Gitlab::LDAP::DN do
describe
'#to_normalized_s'
do
subject
{
described_class
.
new
(
given
).
to_normalized_s
}
# Regarding the telephoneNumber test:
#
# I am not sure whether a space after the telephoneNumber plus sign is valid,
# and I am not sure if this is "proper" behavior under these conditions, and
# I am not sure if it matters to us or anyone else, so rather than dig
# through RFCs, I am only documenting the behavior here.
where
(
:test_description
,
:given
,
:expected
)
do
'strips extraneous whitespace'
|
'uid =John Smith , ou = People, dc= example,dc =com'
|
'uid=john smith,ou=people,dc=example,dc=com'
'strips extraneous whitespace for a DN with a single RDN'
|
'uid = John Smith'
|
'uid=john smith'
...
...
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