Skip to content

Commit 5264e67

Browse files
authored
Merge pull request #412 from trickreich/bugfix/symfony-tag-invalidation
Symfony HttpCache Tag Invalidation: Do not check for missing host
2 parents b9ca77e + c9d08fd commit 5264e67

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@ Changelog
33

44
See also the [GitHub releases page](https://github.com/FriendsOfSymfony/FOSHttpCache/releases).
55

6+
2.1.2
7+
-----
8+
9+
#### Symfony HttpCache
10+
11+
* Fixed bug in Symfony tag invalidation.
12+
Do not check if host is missing in request creation.
13+
614
2.1.1
715
-----
816

@@ -27,7 +35,7 @@ See also the [GitHub releases page](https://github.com/FriendsOfSymfony/FOSHttpC
2735

2836
### Symfony HttpCache
2937

30-
* Cache tagging supprt for Symfony HttpCache
38+
* Cache tagging support for Symfony HttpCache
3139

3240
Added a `PurgeTagsListener` for tag based invalidation with the Symfony
3341
`HttpCache` reverse caching proxy. This requires the newly created

src/ProxyClient/Symfony.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,9 @@ public function invalidateTags(array $tags)
8585
$this->queueRequest(
8686
$this->options['tags_method'],
8787
'/',
88-
[$this->options['tags_header'] => implode(',', $tagchunk)]);
88+
[$this->options['tags_header'] => implode(',', $tagchunk)],
89+
false
90+
);
8991
}
9092

9193
return $this;

0 commit comments

Comments
 (0)