facebook / facebook/hhvm

Imagick throws "Invalid filename provided" when provided a URL.

Open
#6,908 4 comments 0 reactions 0 assignees View on GitHub
php5 incompatibility probably easy
Dominant language
C++
Stars
18.7k
Forks
3.1k
Avg merge
1h 47m
Merged PRs (30d)
2

Description

### HHVM Version

HipHop VM 3.12.1 (rel)
### Standalone code, or other way to reproduce the problem

`$image = new Imagick("http(s)://any.url/image.jpg");`
### Expected result

Imagick object is instantiated.
### Actual result

Exception `ImagickException` with message 'Invalid filename provided' in ...

Ran into this with a failed test when fixing https://core.trac.wordpress.org/ticket/35973 for WordPress 4.5. Previously, a bug had kept WordPress from selecting Imagick as its image editing library, hiding this particular issue. The image URL used in that test is `https://asdftestblog1.files.wordpress.com/2008/04/canola.jpg`.

Possibly Related: #3451

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.