Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
4e1e4cb1
Commit
4e1e4cb1
authored
Feb 01, 2021
by
Dominik Hebeler
Browse files
fixed headers in file_get_contents
parent
96fbaf19
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/Models/Key.php
View file @
4e1e4cb1
...
...
@@ -73,8 +73,10 @@ class Key
$opts
=
array
(
'http'
=>
array
(
'method'
=>
'POST'
,
'header'
=>
'Content-type: application/x-www-form-urlencoded\r\n'
.
'Authorization: Basic '
.
$authKey
.
'\r\n'
,
'header'
=>
[
'Content-type: application/x-www-form-urlencoded'
,
'Authorization: Basic '
.
$authKey
],
'content'
=>
$postdata
,
),
);
...
...
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