Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
d47262ea
Commit
d47262ea
authored
Jun 22, 2016
by
Morris Jobke
Committed by
GitHub
Jun 22, 2016
Browse files
Merge pull request #25233 from owncloud/iedavclient-nullheaders
Init the headers in iedavclient.js
parents
ae50e723
4a2fb1b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/js/files/iedavclient.js
View file @
d47262ea
...
...
@@ -29,6 +29,7 @@
var
self
=
this
;
var
xhr
=
this
.
xhrProvider
();
headers
=
headers
||
{};
if
(
this
.
userName
)
{
headers
[
'
Authorization
'
]
=
'
Basic
'
+
btoa
(
this
.
userName
+
'
:
'
+
this
.
password
);
...
...
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