taken from #1474876: Error Messages "Notice: Undefined index: host in purge_urls() (line 27 of [...]modules/purge/purge.inc)" being displayed. Purge generates errors to users when the exire option "Include base URL" is unchecked. Purge should check for that.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | purge.inc_.patch | 1.74 KB | coert |
Comments
Comment #1
coert commentedI don't believe purge should check for the specific option "Include base URL" from Expire Cache (we would rather do without that dependency right?). Rather, it should check if the passed purge_url includes the host and generate the purge_url based on that, taking from global $base_url and $base_path if only a path was passed rather than a full url. Please consider my patch.
btw.: I couldn't download 7.x-1.x-dev or 7.x-2.x-dev therefore I patched 7.x-1.5-rc1 . Please excuse if you already have this sorted.
Comment #2
japerry