Issue Bug Closed

#76403openPic never gets absolute URL to the image

Dmitry Dulepov 05/31/16, 16:12 updated 10/02/18, 11:10

Description

Since this commit openPic cannot get proper absolute url. If $url is something like ‘fileadmin/user_uploads/image.jpg’, than $urlParts['scheme'] is not set and the check will always fail. Changing strict comparison to non-strict should solve the issue. Appropriate comment should be added to prevent “fixing” from non-strict to strict again.

Reviews 2