Skip to content

Commit 94751de

Browse files
Jonathan GrimmNotalifeform
Jonathan Grimm
authored andcommitted
[#1702] Using correct output data when serializing flash scope cookie
1 parent 329240e commit 94751de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

framework/src/play/mvc/Scope.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ void save() {
6666
return;
6767
}
6868
try {
69-
String flashData = CookieDataCodec.encode(data);
69+
String flashData = CookieDataCodec.encode(out);
7070
Http.Response.current().setCookie(COOKIE_PREFIX + "_FLASH", flashData, null, "/", null, COOKIE_SECURE);
7171
} catch (Exception e) {
7272
throw new UnexpectedException("Flash serializationProblem", e);

0 commit comments

Comments
 (0)