We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d049da commit 800273bCopy full SHA for 800273b
src/Service/Decoder/ResponseDecoder.php
@@ -75,7 +75,12 @@ public function getDecodedResponse(Request $request)
75
*/
76
private function getCacheId(Request $request)
77
{
78
- $id = $request->getMethod() . $request->getUri();
79
- return sha1(preg_replace('/[^A-Za-z0-9\.\- ]/', '', $id));
+ return sha1(
+ preg_replace(
80
+ '/[^A-Za-z0-9\.\- ]/',
81
+ '',
82
+ $request->getMethod().$request->getUri()
83
+ )
84
+ );
85
}
86
0 commit comments