Skip to content

ImageCache.getPath will get a wrong extension name while the uri like this:http://example.com/path?param=http%3A%2F%2Fexample.com%2Findex.html%3Ftype%3Dvalue #99

@divinghero

Description

@divinghero

my solve way is :

if(['.jpg', 'jpeg', '.png', '.bmp', '.gif', '.pcx', '.tiff', '.ico'].indexOf(ext.toLowerCase()) === -1) 
{
      ext = '.jpg';
}

but I can not submit to github, please fix this problem, thx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions