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
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
spec/lib/gitlab/ldap/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
...
@@ -6,12 +6,6 @@ describe Gitlab::LDAP::DN do
describe
'#to_normalized_s'
do
describe
'#to_normalized_s'
do
subject
{
described_class
.
new
(
given
).
to_normalized_s
}
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
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'
|
'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'
'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