getImageURIString skips images that have query string parameters #32

sripathikrishnan opened this Issue Aug 21, 2011 · 0 comments


None yet
1 participant

sripathikrishnan commented Aug 21, 2011

Some background images have query parameters in them, like this -

background-image : url('/path/to/image.png?width=64&height=64')

In such cases, the method getImageURIString(..) computes the file extension as png?width=64&height=64, and goes on to assume the URL is NOT an image.

sripathikrishnan added a commit to sripathikrishnan/cssembed that referenced this issue Aug 21, 2011

nzakas added a commit that referenced this issue Aug 21, 2011

Merge pull request #33 from sripathikrishnan/master
Issue #32 : Fixes getImageURIString to handle images with query parameters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment