99designs / phumbor

A minimal PHP helper for Thumbor
MIT License
123 stars 43 forks source link

malformed URL? #13

Open allafa70 opened 10 years ago

allafa70 commented 10 years ago

Hi, I receive the following error for some images ... can you help me understand how to fix it?


2014-07-14 15:57:04 thumbor:WARNING Malformed URL: /jyq3vYWwfonZ53WCmP_wOw0Sn5Y=/103x/http://1.bp.blogspot.com/-XEpVqBPZxKo/Ue4mLe8_MoI/AAAAAAAACpc/LCiGjWdHWrM/s1600/fantasy+environment+07.jpg


May be there is a problem with url containing the "minus" sign? thanks

allafa70 commented 10 years ago

No I correct myself. Some other images with "minus" sign in their url are working correctly.

If I try to restore the line of code $original = rawurlencode($original); in the stringify function all it's working good but I receive other errors :( Any idea?

harto commented 10 years ago

Hi, what version of Thumbor are you using? Also, could you try to reduce the URL to the smallest possible example that shows the issue?

mpdude commented 5 years ago

I think I've fixed this in https://github.com/webfactory/phumbor/pull/1, you could try webfactory/phumbor: ^1.2.3 on Composer.

bkonetzny commented 5 years ago

I can confirm that the fix in webfactory/phumbor: ^1.2.3 solves the issue. @mpdude Can you create a PR for this?