Open yurj opened 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.
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.
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.