CamanJS icon indicating copy to clipboard operation
CamanJS copied to clipboard

Caman opened proxy even if the image was on same server

Open nedvajz opened this issue 9 years ago • 1 comments

http://example-site.com/image_filters/294?camanProxyUrl=http://example-site.com/uploads/image.jpg

I found out, that it was caused by wrong regex which checked if isRemote. I hope that it would help to someone who will struggle why caman does not work or is slow on his server.

I didn't test if the regex will handle all possible variations of URL addresses, as I needed to solve it immediately. So solution would be to send pull request with some dumbproof regex.

caman-missing-dash

nedvajz avatar Aug 25 '16 11:08 nedvajz

#158

roxblnfk avatar Feb 26 '19 18:02 roxblnfk