Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yurj opened this issue Dec 11, 2021 · 1 comment

Comments

@yurj
Copy link

yurj commented Dec 11, 2021

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 yurj changed the title calling TTW @@plone.cachepurging.purge k calling TTW @@plone.cachepurging.purge means calling only over an url ending with '/' Dec 11, 2021
@yurj
Copy link
Author

yurj commented Dec 11, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant