Skip to content

Commit

Permalink
Fixed bug where extra equals sign is created
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreyRainchik committed Sep 6, 2019
1 parent ee0e931 commit ee4e8b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/burp/Utility.java
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public static byte[] signRequest(IHttpRequestResponse messageInfo,
}
if (param.length > 1) {
sorted[i] = String.join("=", param);
} else if (param.length == 1){
} else if (param.length == 1 && !param[0].isEmpty()){
sorted[i] = param[0] + "=";
}
}
Expand Down

0 comments on commit ee4e8b2

Please sign in to comment.