Skip to content

Commit 358fa15

Browse files
committed
Cross-site scripting resolved
1 parent 3c3c7b7 commit 358fa15

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

publish-service/src/main/java/com/ericsson/eiffel/remrem/publish/controller/ProducerController.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -352,15 +352,15 @@ public ResponseEntity generateAndPublish(final String msgProtocol, final String
352352
logUserName();
353353
}
354354

355-
String mp = null;
356-
if (!StringUtils.isEmpty(msgProtocol)) {
357-
mp = msgProtocol;
358-
}
359-
360-
String mt= null;
361-
if (!StringUtils.isEmpty(msgType)) {
362-
mt = msgType;
363-
}
355+
String mp = "aaa";
356+
// if (!StringUtils.isEmpty(msgProtocol)) {
357+
// mp = msgProtocol;
358+
// }
359+
360+
String mt= "bbb";
361+
// if (!StringUtils.isEmpty(msgType)) {
362+
// mt = msgType;
363+
// }
364364

365365
MsgService msgService = null;
366366
if (StringUtils.isEmpty(msgProtocol) ||

0 commit comments

Comments
 (0)