Slim view reveals the paste after it's been deleted
samirgunic opened this issue ยท 3 comments
Description
When "slim" paste view is used, and then the paste is deleted, the paste appears as if it's removed (in normal paste view) but the "slim" view reveals that it's actually persisted. I think it's purged a couple of days later, just not immediately.
Environment
URLs:
https://dpaste.org/MRgx
https://dpaste.org/MRgx/slim
The issue is not browser-specific, I have tested with Firefox 85.0b1 and Edge 87.0.664.60 (in private sessions).
Steps to reproduce
- Go to https://dpaste.org/
- Type in "Hello world!"
- Click on "Paste Snippet"
- Click on "Slim"
- Copy the URL to clipboard.
- Navigate back to previous page.
- Click on "Delete Now"
- Click on "Yes, Delete"
- Paste in the slim URL and navigate to it.
Expected result
"404 Snippet not found"
Actual result
"Hello world!"
Thank you for the detailed report. The cache is not cleared upstream (in my case Cloudflare) and thats a pretty obvious bug. ๐ For now I disabled caching completely, which solves this symptom but not the issue.
Thanks for letting me know, and keep up the good work! ๐ฅ This is my favorite paste service you know! ๐