Needs review
Project:
Get Image
Version:
7.x-1.0-beta3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
27 Aug 2012 at 05:15 UTC
Updated:
4 Jul 2014 at 02:02 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
saitanay commentedAttached is the patch,. the patch seems to be messed up because of the encoding as there is chinese language in the module comments, which my current editor settings were not supporting,.
Anyways, the only change is in the get_image.module file @ line 77
Replace
if (strpos($mat[2], $GLOBALS['base_url']) !== false || strpos($mat[2], 'http://') === false) {with
if (strpos($mat[2], $GLOBALS['base_url']) !== false || (strpos($mat[2], 'http://') === false && strpos($mat[2], 'https://') === false)) {Best
Tanay
Comment #2
saitanay commentedcleaner patch
Comment #3
dustise commentedmarkdown support
https fix
compatibility
prevent overwrite