plone / plone.cachepurging

provides cache purging for Zope 2 applications
0 stars 4 forks source link

calling TTW @@plone.cachepurging.purge means calling only over an url ending with '/' #24

Open yurj opened 2 years ago

yurj commented 2 years ago

calling TTW @@plone.cachepurging.purge means calling on an url ending with '/' so this view will purge mysite.com/myurl/ mysite.com/myurl//

but never mysite.com/myurl (without the trailing /)

This view should purge the object url, removing the trailing /, and then the url with / appended.

yurj commented 2 years ago

As update, it works correctly on a site object, just the root url shows this problem. In particular the site has the VHM with a vh virtual directory.