`Vary` cache-key conflation of absent and empty request fields
该报告还没有中文解读。
原文摘录
摘自原文(1789 字符中的一小部分)
`UpdateCacheMiddleware` / `CacheMiddleware` generates the same page-cache key when a request header nominated by `Vary` is absent and when it is present with an empty field value. This can cause a response selected for one request to be returned for the other.
原文中的代码
PYTHONPATH=/path/to/django-6.1.1 python poc_django_vary_missing_empty.py
默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Django 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @dogeshark · 版权归作者与 Django 所有