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.

CommentFileSizeAuthor
#1 purge.inc_.patch1.74 KBcoert

Comments

coert’s picture

Version: 7.x-1.x-dev » 7.x-1.5-rc1
StatusFileSize
new1.74 KB

I 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.

japerry’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.