Skip to content
This repository was archived by the owner on Feb 23, 2019. It is now read-only.

Additional Home URLs (of Page Cache) not Purging #357

Merged
merged 1 commit into from
Feb 4, 2017
Merged

Conversation

amiga-500
Copy link
Collaborator

When working correctly the Additional Home URLs field under Page Cache will purge content for mirrored domains. However, prior to this bug fix it didn't working correctly. It only purged from the domain that it was currently processing from.

Why the Problem Occurs

When constructing the mirror URL for purging, the code forgot to check to make sure that the user had provided a trailing slash for these additional home URLs. Because it neither checked nor added a trailing slash, the user's additional non-trailing slashed home URLs were being concatenated with the non-leading slashed paths, resulting in final URLs that were malformed – no purge for these additional URLs. :octocat:

@nigrosimone nigrosimone merged commit 65c2bcb into v0.9.5.x Feb 4, 2017
@nigrosimone nigrosimone deleted the alias branch February 4, 2017 05:56
@amiga-500 amiga-500 changed the title Additional Home URLs not Purging Additional Home URLs (of Page Cache) not Purging Feb 4, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants