[MAGNOLIA-5252] HEAD and GET requests overwrite each other in the cache Created: 21/Aug/13 Updated: 04/Sep/13 Resolved: 03/Sep/13 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.4.12, 4.5.12 |
| Type: | Bug | Priority: | Major |
| Reporter: | Richard Gange | Assignee: | Jaroslav Simak |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Template: |
|
||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||||||
| Date of First Response: | |||||||||||||
| Description |
|
Since the HEAD request is really a specialized form of a GET request they are cached using the same key. This means that a HEAD request can be cached and then a subsequent GET request can be served from the cache with an empty body. |
| Comments |
| Comment by Jaroslav Simak [ 02/Sep/13 ] |
|
link to git https://git.magnolia-cms.com/gitweb/?p=magnolia_main.git;a=commit;h=3c3ef36462e86edbd807ba6a73bd6501a089779f |
| Comment by Jaroslav Simak [ 02/Sep/13 ] |
|
Reopened: port to 4.4.12 |
| Comment by Jan Haderka [ 03/Sep/13 ] |
|
shorter constructor should call the longer one and it should not fail when value of "method" is null. |