Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[#1643] Do not output null flash parameters

StringBuilder will output nulls as "null", which is always not what you want.
  • Loading branch information...
commit 40984bf0e39e467733afd2e9362270f49f869810 1 parent 06889f4
@angryziber angryziber authored Notalifeform committed
Showing with 1 addition and 0 deletions.
  1. +1 −0  framework/src/play/mvc/Scope.java
View
1  framework/src/play/mvc/Scope.java
@@ -75,6 +75,7 @@ void save() {
try {
StringBuilder flash = new StringBuilder();
for (String key : out.keySet()) {
+ if (out.get(key) == null) continue;
flash.append("\u0000");
flash.append(key);
flash.append(":");
Please sign in to comment.
Something went wrong with that request. Please try again.