You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juddi.apache.org by al...@apache.org on 2020/07/04 03:42:41 UTC

[juddi] branch master updated: JUDDI-1013 insurance

This is an automated email from the ASF dual-hosted git repository.

alexoree pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/juddi.git


The following commit(s) were added to refs/heads/master by this push:
     new c8bce39  JUDDI-1013 insurance
c8bce39 is described below

commit c8bce39ec3efd546a2dd4e4fd5e072cc218a86a1
Author: Alex O'Ree <al...@apache.org>
AuthorDate: Fri Jul 3 23:42:43 2020 -0400

    JUDDI-1013 insurance
---
 juddi-gui/src/main/java/org/apache/juddi/webconsole/hub/UddiHub.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/juddi-gui/src/main/java/org/apache/juddi/webconsole/hub/UddiHub.java b/juddi-gui/src/main/java/org/apache/juddi/webconsole/hub/UddiHub.java
index 0a871c0..d7ec2ec 100644
--- a/juddi-gui/src/main/java/org/apache/juddi/webconsole/hub/UddiHub.java
+++ b/juddi-gui/src/main/java/org/apache/juddi/webconsole/hub/UddiHub.java
@@ -1072,7 +1072,7 @@ public class UddiHub implements Serializable {
 
                         return ResourceLoader.GetResource(session, "actions.saved") + " "
                              + " <script type=\"text/javascript\">window.location.href='"+ 
-                                 "businessEditor2.jsp?id=" + URLEncoder.encode(saveBusiness.getBusinessEntity().get(0).getBusinessKey(), "UTF8") + "';</script>"
+                                StringEscapeUtils.escapeJavaScript("businessEditor2.jsp?id=" + URLEncoder.encode(saveBusiness.getBusinessEntity().get(0).getBusinessKey(), "UTF8")) + "';</script>"
                              + "<a href=\"businessEditor2.jsp?id=" + URLEncoder.encode(saveBusiness.getBusinessEntity().get(0).getBusinessKey(), "UTF8")
                              + "\">" + StringEscapeUtils.escapeHtml(saveBusiness.getBusinessEntity().get(0).getBusinessKey()) + "</a>";
                 } catch (Exception ex) {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@juddi.apache.org
For additional commands, e-mail: commits-help@juddi.apache.org