Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MetaGer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open-source
MetaGer
Merge requests
!222
Revert "Merge branch 'development' into 'master'"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Revert "Merge branch 'development' into 'master'"
revert-45a0fcb9
into
master
Overview
0
Commits
1
Pipelines
0
Changes
10
Merged
Dominik Hebeler
requested to merge
revert-45a0fcb9
into
master
8 years ago
Overview
0
Commits
1
Pipelines
0
Changes
10
Expand
This reverts merge request
!220 (merged)
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
582b3884
1 commit,
8 years ago
10 files
+
22
−
249
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
10
Search (e.g. *.vue) (Ctrl+P)
app/Http/Controllers/Pictureproxy.php
+
2
−
8
Options
@@ -17,14 +17,8 @@ class Pictureproxy extends Controller
function
get
(
Request
$request
)
{
if
(
$request
->
has
(
'url'
)
)
{
try
{
$arrContextOptions
=
array
(
"ssl"
=>
array
(
"verify_peer"
=>
false
,
"verify_peer_name"
=>
false
,
),
);
$file
=
file_get_contents
(
$request
->
input
(
'url'
),
false
,
stream_context_create
(
$arrContextOptions
));
try
{
$file
=
file_get_contents
(
$request
->
input
(
'url'
));
$responseCode
=
explode
(
" "
,
$http_response_header
[
0
])[
1
];
$contentType
=
""
;
foreach
(
$http_response_header
as
$header
)
Loading