Problem/Motivation

Path aliases with non-ASCII characters are not properly expired.

Steps to reproduce

  1. Configure a site with expire, Acquia Purge and Varnish
  2. Create a node with the path alias olá
  3. Trigger expiration on the node

Expected: Page is purged from Varnish
Actual: Page is not purged from Varnish

Proposed resolution

When a path with special characters is expired, also purge the encoded version.

Remaining tasks

Review and test

User interface changes

None

API changes

None

Data model changes

None

Comments

joshf created an issue. See original summary.

joshf’s picture

Assigned: joshf » Unassigned
Status: Active » Needs review
StatusFileSize
new578 bytes

Attached patch adds an encoded version of the path to the list of paths to expire during ExpireAPI::processInternalPaths().