Browse Source

웹 취약점 수정

huiwonseo 4 năm trước cách đây
mục cha
commit
ebda1b0058

+ 6 - 0
src/main/webapp/WEB-INF/jsp/api/info.jsp

@@ -93,6 +93,12 @@ $( function(){
                                                         <col style="width:15%">
                                                         <col style="width:35%">
                                                     </colgroup>
+                                                    <tr style="display:none;">
+                                                        <td></td>
+                                                        <td></td>
+                                                        <td></td>
+                                                        <td></td>
+                                                    </tr>
                                                     <tr>
                                                         <th>상태</th>
                                                         <td colspan="3" class="<c:if test="${info.useYn eq 'W'}">text-danger</c:if><c:if test="${info.useYn eq 'C'}">text-success</c:if>">

+ 1 - 1
src/main/webapp/WEB-INF/jsp/include/header.jsp

@@ -15,7 +15,7 @@
 
 <link rel="icon" href="/resources/images/favicon.ico" type="image/x-icon">
 <link rel="preconnect" href="//fonts.gstatic.com/" crossorigin="">
-<link rel="stylesheet" type="text/css" href="/resources/css/common/jquery.modal.css" />
+<link href="/resources/css/common/jquery.modal.css" type="text/css"  rel="stylesheet">
 <link href="/resources/css/common/classic.css" type="text/css" rel="stylesheet">
 <script src="/resources/js/common/app.js"></script>
 <script src="/resources/js/common/common.js"></script>

+ 10 - 4
src/main/webapp/WEB-INF/jsp/notice/list.jsp

@@ -34,10 +34,10 @@
                                     <div class="card-body">
                                         <table class="table mobile-table">
                                             <colgroup>
-                                                <col style=" width:10%">
-                                                <col style=" width:40%">
-                                                <col style=" width:10%">
-                                                <col style=" width:40%">
+                                                <col style=" width:10%" />
+                                                <col style=" width:40%" />
+                                                <col style=" width:10%" />
+                                                <col style=" width:40%" />
                                             </colgroup>
                                             <tr>
                                                 <th>구분</th>
@@ -58,6 +58,12 @@
                                                     <button class="btn btn-primary">검색</button>
                                                 </td>
                                             </tr>
+                                            <tr style="display:none;">
+                                                <td></td>
+                                                <td></td>
+                                                <td></td>
+                                                <td></td>
+                                            </tr>
                                         </table>
                                     </div>
                                 </form>

+ 4 - 4
src/main/webapp/WEB-INF/jsp/push/list.jsp

@@ -53,7 +53,7 @@ $( function(){
     
     $( document ).on( "click", "span.push-result", function(){
         var $this = $( this );
-        var key   = $this.prop( "accessKey" );
+        var key   = $this.attr( "data-access" );
         
         var title     = $( "#sendResultList" ).find( ".modal-title" );
         var logIdx   = $this.closest( "tr" ).find( "input.log-idx" ).val();
@@ -530,17 +530,17 @@ function pushDetail( t ){
                                                             <fmt:formatNumber value="${pl.totalCount}" pattern="#,###" />
                                                         </td>
                                                         <td class="text-right text-success pointer">
-                                                            <span class="text-link push-result" accesskey="success"  data-toggle="modal" data-target="#sendResultList">
+                                                            <span class="text-link push-result" data-access="success"  data-toggle="modal" data-target="#sendResultList">
                                                                 <fmt:formatNumber value="${pl.successCount}" pattern="#,###" />
                                                             </span>
                                                         </td>
                                                         <td class="text-right text-danger pointer">
-                                                            <span class="text-link push-result" accesskey="fail" data-toggle="modal" data-target="#sendResultList">
+                                                            <span class="text-link push-result" data-access="fail" data-toggle="modal" data-target="#sendResultList">
                                                                 <fmt:formatNumber value="${pl.failCount}" pattern="#,###" />
                                                             </span>
                                                         </td>
                                                         <td class="text-right text-warning pointer">
-                                                            <span class="text-link push-result" accesskey="wait" data-toggle="modal" data-target="#sendResultList">
+                                                            <span class="text-link push-result" data-access="wait" data-toggle="modal" data-target="#sendResultList">
                                                                 <fmt:formatNumber value="${pl.waitCount}" pattern="#,###" />
                                                             </span>
                                                         </td>