[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Pki-devel] [PATCH] 944-948 Renamed index.html to index.jsp.



The index.html files in all Web UIs have been renamed
to index.jsp such that they can be protected by access banner.

https://fedorahosted.org/pki/ticket/2582

Pushed to master under trivial rule.

--
Endi S. Dewata
>From 666f7ee81e53bf2e7018384363307b51fa1bad26 Mon Sep 17 00:00:00 2001
From: "Endi S. Dewata" <edewata redhat com>
Date: Sat, 18 Feb 2017 05:34:00 +0100
Subject: [PATCH] Renamed index.html to index.jsp in CA UI.

The index.html files in CA UI have been renamed to index.jsp such
that they can be protected by access banner.

https://fedorahosted.org/pki/ticket/2582
---
 base/ca/shared/webapps/ca/{ee/index.html => admin/index.jsp}            | 0
 base/ca/shared/webapps/ca/agent/ca/{index.html => index.jsp}            | 0
 base/ca/shared/webapps/ca/agent/header.template                         | 2 +-
 base/ca/shared/webapps/ca/agent/{index.html => index.jsp}               | 0
 base/ca/shared/webapps/ca/agent/index.template                          | 2 +-
 base/ca/shared/webapps/ca/ee/ca/{index.html => index.jsp}               | 0
 .../shared/webapps/ca/ee/ca/policyEnrollment/{index.html => index.jsp}  | 0
 .../shared/webapps/ca/ee/ca/profileEnrollment/{index.html => index.jsp} | 0
 base/ca/shared/webapps/ca/{admin/index.html => ee/index.jsp}            | 0
 base/ca/shared/webapps/ca/{index.html => index.jsp}                     | 0
 10 files changed, 2 insertions(+), 2 deletions(-)
 rename base/ca/shared/webapps/ca/{ee/index.html => admin/index.jsp} (100%)
 rename base/ca/shared/webapps/ca/agent/ca/{index.html => index.jsp} (100%)
 rename base/ca/shared/webapps/ca/agent/{index.html => index.jsp} (100%)
 rename base/ca/shared/webapps/ca/ee/ca/{index.html => index.jsp} (100%)
 rename base/ca/shared/webapps/ca/ee/ca/policyEnrollment/{index.html => index.jsp} (100%)
 rename base/ca/shared/webapps/ca/ee/ca/profileEnrollment/{index.html => index.jsp} (100%)
 rename base/ca/shared/webapps/ca/{admin/index.html => ee/index.jsp} (100%)
 rename base/ca/shared/webapps/ca/{index.html => index.jsp} (100%)

diff --git a/base/ca/shared/webapps/ca/ee/index.html b/base/ca/shared/webapps/ca/admin/index.jsp
similarity index 100%
rename from base/ca/shared/webapps/ca/ee/index.html
rename to base/ca/shared/webapps/ca/admin/index.jsp
diff --git a/base/ca/shared/webapps/ca/agent/ca/index.html b/base/ca/shared/webapps/ca/agent/ca/index.jsp
similarity index 100%
rename from base/ca/shared/webapps/ca/agent/ca/index.html
rename to base/ca/shared/webapps/ca/agent/ca/index.jsp
diff --git a/base/ca/shared/webapps/ca/agent/header.template b/base/ca/shared/webapps/ca/agent/header.template
index 91bed383a8c9dc863226f6156c9adf96c210614f..5157c2f11763b577b5ad98c4b9374ea38be5a50e 100644
--- a/base/ca/shared/webapps/ca/agent/header.template
+++ b/base/ca/shared/webapps/ca/agent/header.template
@@ -83,7 +83,7 @@ $(function() {
 		} else {
           		document.write('<a href="../' + 
 				result.recordSet[i].id + 
-				'/index.html" target="_top">' + 
+				'/" target="_top">' + 
 				type + '<\/a>');
 		}
 		document.write('<\/font><\/td>');
diff --git a/base/ca/shared/webapps/ca/agent/index.html b/base/ca/shared/webapps/ca/agent/index.jsp
similarity index 100%
rename from base/ca/shared/webapps/ca/agent/index.html
rename to base/ca/shared/webapps/ca/agent/index.jsp
diff --git a/base/ca/shared/webapps/ca/agent/index.template b/base/ca/shared/webapps/ca/agent/index.template
index bc2eb9ff05afaa52f9a3e59a2c76b1e6a46bf6b0..1213fdb2580e32bd6b5c475a35fac120a60d99b6 100644
--- a/base/ca/shared/webapps/ca/agent/index.template
+++ b/base/ca/shared/webapps/ca/agent/index.template
@@ -110,7 +110,7 @@ if (result.header.errorDetails != null) {
           	document.write('<td>');
 		document.write('<font face="PrimaSans BT, Verdana, sans-serif">');
 		document.write('<a href="');
-		document.write(result.recordSet[i].id + '/index.html');
+		document.write(result.recordSet[i].id + '/');
 		if (result.recordSet[i].type == "RegistrationAuthority") {
 			document.write('">Registration Manager Agent Services</a></font>');
 			document.write('<font size="-1" face="PrimaSans BT, Verdana, sans-serif"><br>');
diff --git a/base/ca/shared/webapps/ca/ee/ca/index.html b/base/ca/shared/webapps/ca/ee/ca/index.jsp
similarity index 100%
rename from base/ca/shared/webapps/ca/ee/ca/index.html
rename to base/ca/shared/webapps/ca/ee/ca/index.jsp
diff --git a/base/ca/shared/webapps/ca/ee/ca/policyEnrollment/index.html b/base/ca/shared/webapps/ca/ee/ca/policyEnrollment/index.jsp
similarity index 100%
rename from base/ca/shared/webapps/ca/ee/ca/policyEnrollment/index.html
rename to base/ca/shared/webapps/ca/ee/ca/policyEnrollment/index.jsp
diff --git a/base/ca/shared/webapps/ca/ee/ca/profileEnrollment/index.html b/base/ca/shared/webapps/ca/ee/ca/profileEnrollment/index.jsp
similarity index 100%
rename from base/ca/shared/webapps/ca/ee/ca/profileEnrollment/index.html
rename to base/ca/shared/webapps/ca/ee/ca/profileEnrollment/index.jsp
diff --git a/base/ca/shared/webapps/ca/admin/index.html b/base/ca/shared/webapps/ca/ee/index.jsp
similarity index 100%
rename from base/ca/shared/webapps/ca/admin/index.html
rename to base/ca/shared/webapps/ca/ee/index.jsp
diff --git a/base/ca/shared/webapps/ca/index.html b/base/ca/shared/webapps/ca/index.jsp
similarity index 100%
rename from base/ca/shared/webapps/ca/index.html
rename to base/ca/shared/webapps/ca/index.jsp
-- 
2.5.5

>From 07a53d25b3f6fab2e08c56a7a86fc5ea0fa4a8eb Mon Sep 17 00:00:00 2001
From: "Endi S. Dewata" <edewata redhat com>
Date: Mon, 20 Feb 2017 17:03:30 +0100
Subject: [PATCH] Renamed index.html to index.jsp in KRA UI.

The index.html files in KRA UI have been renamed to index.jsp such
that they can be protected by access banner.

https://fedorahosted.org/pki/ticket/2582
---
 base/kra/shared/webapps/kra/agent/header.template               | 2 +-
 base/kra/shared/webapps/kra/agent/{index.html => index.jsp}     | 0
 base/kra/shared/webapps/kra/agent/index.template                | 2 +-
 base/kra/shared/webapps/kra/agent/kra/{index.html => index.jsp} | 0
 base/kra/shared/webapps/kra/agent/kra/top.html                  | 4 ++--
 base/kra/shared/webapps/kra/{index.html => index.jsp}           | 0
 6 files changed, 4 insertions(+), 4 deletions(-)
 rename base/kra/shared/webapps/kra/agent/{index.html => index.jsp} (100%)
 rename base/kra/shared/webapps/kra/agent/kra/{index.html => index.jsp} (100%)
 rename base/kra/shared/webapps/kra/{index.html => index.jsp} (100%)

diff --git a/base/kra/shared/webapps/kra/agent/header.template b/base/kra/shared/webapps/kra/agent/header.template
index b1183fd81faa8f671fa33055c987e11215aeaa07..63c3708a9dc3088b824a2b740f57bbeefb0053ea 100644
--- a/base/kra/shared/webapps/kra/agent/header.template
+++ b/base/kra/shared/webapps/kra/agent/header.template
@@ -83,7 +83,7 @@ $(function() {
 		} else {
           		document.write('<a href="../' + 
 				result.recordSet[i].id + 
-				'/index.html" target="_top">' + 
+				'/" target="_top">' + 
 				type + '<\/a>');
 		}
 		document.write('<\/font><\/td>');
diff --git a/base/kra/shared/webapps/kra/agent/index.html b/base/kra/shared/webapps/kra/agent/index.jsp
similarity index 100%
rename from base/kra/shared/webapps/kra/agent/index.html
rename to base/kra/shared/webapps/kra/agent/index.jsp
diff --git a/base/kra/shared/webapps/kra/agent/index.template b/base/kra/shared/webapps/kra/agent/index.template
index e0e4ff5c60e283f64455bb5f37d212cacd40f712..af0bd87a52201c11e62b113c6cea1def9bcb6a36 100644
--- a/base/kra/shared/webapps/kra/agent/index.template
+++ b/base/kra/shared/webapps/kra/agent/index.template
@@ -110,7 +110,7 @@ if (result.header.errorDetails != null) {
           	document.write('<td>');
 		document.write('<font face="PrimaSans BT, Verdana, sans-serif">');
 		document.write('<a href="');
-		document.write(result.recordSet[i].id + '/index.html');
+		document.write(result.recordSet[i].id + '/');
 		if (result.recordSet[i].type == "RegistrationAuthority") {
 			document.write('">Registration Manager Agent Services</a></font>');
 			document.write('<font size="-1" face="PrimaSans BT, Verdana, sans-serif"><br>');
diff --git a/base/kra/shared/webapps/kra/agent/kra/index.html b/base/kra/shared/webapps/kra/agent/kra/index.jsp
similarity index 100%
rename from base/kra/shared/webapps/kra/agent/kra/index.html
rename to base/kra/shared/webapps/kra/agent/kra/index.jsp
diff --git a/base/kra/shared/webapps/kra/agent/kra/top.html b/base/kra/shared/webapps/kra/agent/kra/top.html
index 3018e9982f45296222898293829095e5852c9506..5c2532cf912246d45d23ddda5b81026d75283e8e 100644
--- a/base/kra/shared/webapps/kra/agent/kra/top.html
+++ b/base/kra/shared/webapps/kra/agent/kra/top.html
@@ -47,11 +47,11 @@ $(function() {
         <tr> 
           <td><img src="/pki/images/spacer.gif" width="12" height="21"></td>
           <td><img src="/pki/images/dgLeftTab.gif" width="13" height="21"></td>
-          <td bgcolor="#999999" nowrap><font size="-1" face="PrimaSans BT, Verdana, sans-serif"><a href="../kra/index.html" target="_top">Certificate 
+          <td bgcolor="#999999" nowrap><font size="-1" face="PrimaSans BT, Verdana, sans-serif"><a href="../kra/" target="_top">Certificate 
             Service</a><b></b></font></td>
           <td><img src="/pki/images/dgRightTab.gif" width="16" height="21"></td>
           <td><img src="/pki/images/dgLeftTab.gif" width="13" height="21"></td>
-          <td bgcolor="#999999" nowrap><font size="-1" face="PrimaSans BT, Verdana, sans-serif"><a href="../kra/index.html" target="_top">Registration 
+          <td bgcolor="#999999" nowrap><font size="-1" face="PrimaSans BT, Verdana, sans-serif"><a href="../kra/" target="_top">Registration 
             Service </a></font></td>
           <td><img src="/pki/images/dgRightTab.gif" width="16" height="21"></td>
           <td><img src="/pki/images/lgLeftTab.gif" width="13" height="21"></td>
diff --git a/base/kra/shared/webapps/kra/index.html b/base/kra/shared/webapps/kra/index.jsp
similarity index 100%
rename from base/kra/shared/webapps/kra/index.html
rename to base/kra/shared/webapps/kra/index.jsp
-- 
2.5.5

>From a321054f6564c1e9776115aca4d5b3194e9ac699 Mon Sep 17 00:00:00 2001
From: "Endi S. Dewata" <edewata redhat com>
Date: Mon, 20 Feb 2017 17:05:23 +0100
Subject: [PATCH] Renamed index.html to index.jsp in OCSP UI.

The index.html files in OCSP UI have been renamed to index.jsp such
that they can be protected by access banner.

https://fedorahosted.org/pki/ticket/2582
---
 base/ocsp/shared/webapps/ocsp/agent/header.template                | 2 +-
 base/ocsp/shared/webapps/ocsp/agent/{index.html => index.jsp}      | 0
 base/ocsp/shared/webapps/ocsp/agent/index.template                 | 2 +-
 base/ocsp/shared/webapps/ocsp/agent/ocsp/{index.html => index.jsp} | 0
 base/ocsp/shared/webapps/ocsp/{index.html => index.jsp}            | 0
 5 files changed, 2 insertions(+), 2 deletions(-)
 rename base/ocsp/shared/webapps/ocsp/agent/{index.html => index.jsp} (100%)
 rename base/ocsp/shared/webapps/ocsp/agent/ocsp/{index.html => index.jsp} (100%)
 rename base/ocsp/shared/webapps/ocsp/{index.html => index.jsp} (100%)

diff --git a/base/ocsp/shared/webapps/ocsp/agent/header.template b/base/ocsp/shared/webapps/ocsp/agent/header.template
index f39de296c0b1606a92483ed05a900d16492d3ed6..495b947860fe76af1737d1caf142528be75d5f82 100644
--- a/base/ocsp/shared/webapps/ocsp/agent/header.template
+++ b/base/ocsp/shared/webapps/ocsp/agent/header.template
@@ -83,7 +83,7 @@ $(function() {
 		} else {
           		document.write('<a href="../' + 
 				result.recordSet[i].id + 
-				'/index.html" target="_top">' + 
+				'/" target="_top">' + 
 				type + '<\/a>');
 		}
 		document.write('<\/font><\/td>');
diff --git a/base/ocsp/shared/webapps/ocsp/agent/index.html b/base/ocsp/shared/webapps/ocsp/agent/index.jsp
similarity index 100%
rename from base/ocsp/shared/webapps/ocsp/agent/index.html
rename to base/ocsp/shared/webapps/ocsp/agent/index.jsp
diff --git a/base/ocsp/shared/webapps/ocsp/agent/index.template b/base/ocsp/shared/webapps/ocsp/agent/index.template
index c3afe19286e20a5006fa51f27122be225220c28a..0dddd0444df74901e69009c4a78efb80cec6856a 100644
--- a/base/ocsp/shared/webapps/ocsp/agent/index.template
+++ b/base/ocsp/shared/webapps/ocsp/agent/index.template
@@ -110,7 +110,7 @@ if (result.header.errorDetails != null) {
           	document.write('<td>');
 		document.write('<font face="PrimaSans BT, Verdana, sans-serif">');
 		document.write('<a href="');
-		document.write(result.recordSet[i].id + '/index.html');
+		document.write(result.recordSet[i].id + '/');
 		if (result.recordSet[i].type == "RegistrationAuthority") {
 			document.write('">Registration Manager Agent Services</a></font>');
 			document.write('<font size="-1" face="PrimaSans BT, Verdana, sans-serif"><br>');
diff --git a/base/ocsp/shared/webapps/ocsp/agent/ocsp/index.html b/base/ocsp/shared/webapps/ocsp/agent/ocsp/index.jsp
similarity index 100%
rename from base/ocsp/shared/webapps/ocsp/agent/ocsp/index.html
rename to base/ocsp/shared/webapps/ocsp/agent/ocsp/index.jsp
diff --git a/base/ocsp/shared/webapps/ocsp/index.html b/base/ocsp/shared/webapps/ocsp/index.jsp
similarity index 100%
rename from base/ocsp/shared/webapps/ocsp/index.html
rename to base/ocsp/shared/webapps/ocsp/index.jsp
-- 
2.5.5

>From 530236ceef49fcea9c69c7784747d5ebe7ce8354 Mon Sep 17 00:00:00 2001
From: "Endi S. Dewata" <edewata redhat com>
Date: Mon, 20 Feb 2017 17:06:24 +0100
Subject: [PATCH] Renamed index.html to index.jsp in TKS UI.

The index.html files in TKS UI have been renamed to index.jsp such
that they can be protected by access banner.

https://fedorahosted.org/pki/ticket/2582
---
 base/tks/shared/webapps/tks/agent/header.template               | 2 +-
 base/tks/shared/webapps/tks/agent/{index.html => index.jsp}     | 0
 base/tks/shared/webapps/tks/agent/index.template                | 2 +-
 base/tks/shared/webapps/tks/agent/tks/{index.html => index.jsp} | 0
 base/tks/shared/webapps/tks/{index.html => index.jsp}           | 0
 5 files changed, 2 insertions(+), 2 deletions(-)
 rename base/tks/shared/webapps/tks/agent/{index.html => index.jsp} (100%)
 rename base/tks/shared/webapps/tks/agent/tks/{index.html => index.jsp} (100%)
 rename base/tks/shared/webapps/tks/{index.html => index.jsp} (100%)

diff --git a/base/tks/shared/webapps/tks/agent/header.template b/base/tks/shared/webapps/tks/agent/header.template
index b7dfef87bb4cf4dcac2eeb9e9ad846610297a3d5..0b442c0a78969d144017fd013de31683274e9908 100644
--- a/base/tks/shared/webapps/tks/agent/header.template
+++ b/base/tks/shared/webapps/tks/agent/header.template
@@ -83,7 +83,7 @@ $(function() {
 		} else {
           		document.write('<a href="../' + 
 				result.recordSet[i].id + 
-				'/index.html" target="_top">' + 
+				'/" target="_top">' + 
 				type + '<\/a>');
 		}
 		document.write('<\/font><\/td>');
diff --git a/base/tks/shared/webapps/tks/agent/index.html b/base/tks/shared/webapps/tks/agent/index.jsp
similarity index 100%
rename from base/tks/shared/webapps/tks/agent/index.html
rename to base/tks/shared/webapps/tks/agent/index.jsp
diff --git a/base/tks/shared/webapps/tks/agent/index.template b/base/tks/shared/webapps/tks/agent/index.template
index b9a16384bd16ee0cfb63c3dcafe8d1bb0c010236..ae9cc52d67ed60951249f1004629eedf6ceaabcf 100644
--- a/base/tks/shared/webapps/tks/agent/index.template
+++ b/base/tks/shared/webapps/tks/agent/index.template
@@ -110,7 +110,7 @@ if (result.header.errorDetails != null) {
           	document.write('<td>');
 		document.write('<font face="PrimaSans BT, Verdana, sans-serif">');
 		document.write('<a href="');
-		document.write(result.recordSet[i].id + '/index.html');
+		document.write(result.recordSet[i].id + '/');
 		if (result.recordSet[i].type == "RegistrationAuthority") {
 			document.write('">Registration Manager Agent Services</a></font>');
 			document.write('<font size="-1" face="PrimaSans BT, Verdana, sans-serif"><br>');
diff --git a/base/tks/shared/webapps/tks/agent/tks/index.html b/base/tks/shared/webapps/tks/agent/tks/index.jsp
similarity index 100%
rename from base/tks/shared/webapps/tks/agent/tks/index.html
rename to base/tks/shared/webapps/tks/agent/tks/index.jsp
diff --git a/base/tks/shared/webapps/tks/index.html b/base/tks/shared/webapps/tks/index.jsp
similarity index 100%
rename from base/tks/shared/webapps/tks/index.html
rename to base/tks/shared/webapps/tks/index.jsp
-- 
2.5.5

>From 220dd64ce23b05bcf84df8ca123ee2f27589ab91 Mon Sep 17 00:00:00 2001
From: "Endi S. Dewata" <edewata redhat com>
Date: Mon, 20 Feb 2017 17:07:29 +0100
Subject: [PATCH] Renamed index.html to index.jsp in TPS UI.

The index.html files in TPS UI have been renamed to index.jsp such
that they can be protected by access banner.

https://fedorahosted.org/pki/ticket/2582
---
 base/tps/shared/webapps/tps/{index.html => index.jsp}    | 0
 base/tps/shared/webapps/tps/ui/{index.html => index.jsp} | 0
 2 files changed, 0 insertions(+), 0 deletions(-)
 rename base/tps/shared/webapps/tps/{index.html => index.jsp} (100%)
 rename base/tps/shared/webapps/tps/ui/{index.html => index.jsp} (100%)

diff --git a/base/tps/shared/webapps/tps/index.html b/base/tps/shared/webapps/tps/index.jsp
similarity index 100%
rename from base/tps/shared/webapps/tps/index.html
rename to base/tps/shared/webapps/tps/index.jsp
diff --git a/base/tps/shared/webapps/tps/ui/index.html b/base/tps/shared/webapps/tps/ui/index.jsp
similarity index 100%
rename from base/tps/shared/webapps/tps/ui/index.html
rename to base/tps/shared/webapps/tps/ui/index.jsp
-- 
2.5.5


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]