Skip to content

Commit

Permalink
fix code 400 when fast test create #2506
Browse files Browse the repository at this point in the history
  • Loading branch information
MathisSenicourt committed Oct 24, 2024
1 parent a422e70 commit 4bb06ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ function submitSimpleCreationForm() {
success: function (dataMessage) {
hideLoaderInModal('#editTestCaseSimpleCreationModal');
if (getAlertType(dataMessage.messageType) === "success") {
window.location.href = "./TestCaseScript.jsp?test="+dataMessage.test+"&testcase="+dataMessage.testcase+"&oneclickcreation=true";
window.location.href = "./TestCaseScript.jsp?test="+encodeURIComponent(dataMessage.test.replace(/\+/g, ' '))+"&testcase="+encodeURIComponent(dataMessage.testcase.replace(/\+/g, ' '))+"&oneclickcreation=true";
} else {
showMessage(dataMessage, $('#editTestCaseSimpleCreationModal'));
}
Expand Down

0 comments on commit 4bb06ef

Please sign in to comment.