From 5da1994ffa1629f278d01183a66c7405135adfa6 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期四, 28 九月 2023 16:23:09 +0800
Subject: [PATCH] 兼容QGIS的GetCapabilities

---
 src/main/java/com/moon/server/helper/HttpHelper.java |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/moon/server/helper/HttpHelper.java b/src/main/java/com/moon/server/helper/HttpHelper.java
index d6f7b43..001a069 100644
--- a/src/main/java/com/moon/server/helper/HttpHelper.java
+++ b/src/main/java/com/moon/server/helper/HttpHelper.java
@@ -158,7 +158,6 @@
 
     protected String getRealCookie(String cookieValue) {
         StringBuilder escapedCookie = new StringBuilder();
-
         String[] cookies = cookieValue.split("[;,]");
         for (String cookie : cookies) {
             String[] cookieSplit = cookie.split("=");
@@ -303,7 +302,6 @@
 
             String name = ":" + str.substring(start, str.indexOf("</Name>", start));
             if (!res.getTab().contains(name)) {
-                // index = str.lastIndexOf(">", index)
                 end = str.indexOf("<", end);
                 str = str.substring(0, index) + str.substring(end);
                 index = str.indexOf(StaticData.QUERYABLE, index);

--
Gitblit v1.9.3