黄宗银 1 year ago
parent
commit
317bb2466e

+ 37 - 0
Debug/net8.0/Apq.Web5.deps.json

@@ -15,6 +15,28 @@
           "Apq.Web5.dll": {}
           "Apq.Web5.dll": {}
         }
         }
       },
       },
+      "AntiXSS.NetStandard/0.1.125": {
+        "dependencies": {
+          "AntiXSS.NetStandard.HtmlSanitization": "0.1.125"
+        },
+        "runtime": {
+          "lib/netstandard2.0/AntiXssLibrary.dll": {
+            "assemblyVersion": "0.1.0.0",
+            "fileVersion": "0.1.125.12703"
+          }
+        }
+      },
+      "AntiXSS.NetStandard.HtmlSanitization/0.1.125": {
+        "dependencies": {
+          "System.Configuration.ConfigurationManager": "6.0.1"
+        },
+        "runtime": {
+          "lib/netstandard2.0/Microsoft.Security.Application.HtmlSanitization.dll": {
+            "assemblyVersion": "0.1.0.0",
+            "fileVersion": "0.1.125.12703"
+          }
+        }
+      },
       "BouncyCastle.Cryptography/2.2.1": {
       "BouncyCastle.Cryptography/2.2.1": {
         "runtime": {
         "runtime": {
           "lib/net6.0/BouncyCastle.Cryptography.dll": {
           "lib/net6.0/BouncyCastle.Cryptography.dll": {
@@ -849,6 +871,7 @@
       },
       },
       "Apq/1.0.0": {
       "Apq/1.0.0": {
         "dependencies": {
         "dependencies": {
+          "AntiXSS.NetStandard": "0.1.125",
           "ConsoleTables": "2.6.1",
           "ConsoleTables": "2.6.1",
           "GuerrillaNtp": "3.1.0",
           "GuerrillaNtp": "3.1.0",
           "Microsoft.Extensions.Configuration.EnvironmentVariables": "8.0.0",
           "Microsoft.Extensions.Configuration.EnvironmentVariables": "8.0.0",
@@ -880,6 +903,20 @@
       "serviceable": false,
       "serviceable": false,
       "sha512": ""
       "sha512": ""
     },
     },
+    "AntiXSS.NetStandard/0.1.125": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-Vql+vsrA2RG54nWiknBh7YoMKknvXbUeeSwhIjv/WET0NQEpUGZVEHtjN2HARsLiIhCF+TCgqYm/BnbIBy29bA==",
+      "path": "antixss.netstandard/0.1.125",
+      "hashPath": "antixss.netstandard.0.1.125.nupkg.sha512"
+    },
+    "AntiXSS.NetStandard.HtmlSanitization/0.1.125": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-0Fc4E89fqmuumHacMaujPYdF3YWc7/HuK9ovC5PCAZjHf9HvjVw+HVK+tMqmReB6sHUxtaj5mhGOFElne8Eu8Q==",
+      "path": "antixss.netstandard.htmlsanitization/0.1.125",
+      "hashPath": "antixss.netstandard.htmlsanitization.0.1.125.nupkg.sha512"
+    },
     "BouncyCastle.Cryptography/2.2.1": {
     "BouncyCastle.Cryptography/2.2.1": {
       "type": "package",
       "type": "package",
       "serviceable": true,
       "serviceable": true,

BIN
Debug/net8.0/Apq.Web5.dll


BIN
Debug/net8.0/Apq.Web5.pdb


+ 1 - 6
Debug/net8.0/Apq.Web5.xml

@@ -9,11 +9,6 @@
             Http请求扩展
             Http请求扩展
             </summary>
             </summary>
         </member>
         </member>
-        <member name="F:Apq.Extension.Ext_HttpContext.COMMA">
-            <summary>
-            逗号
-            </summary>
-        </member>
         <member name="M:Apq.Extension.Ext_HttpContext.GetPostString(Microsoft.AspNetCore.Http.HttpRequest,System.Text.Encoding)">
         <member name="M:Apq.Extension.Ext_HttpContext.GetPostString(Microsoft.AspNetCore.Http.HttpRequest,System.Text.Encoding)">
             <summary>
             <summary>
             获取POST提交过来的内容
             获取POST提交过来的内容
@@ -62,7 +57,7 @@
             </summary>
             </summary>
             <param name="PostFirst">是:优先获取POST参数;否:优先获取GET参数</param>
             <param name="PostFirst">是:优先获取POST参数;否:优先获取GET参数</param>
         </member>
         </member>
-        <member name="M:Apq.Extension.Ext_HttpContext.ToQueryString(System.Collections.Generic.Dictionary{System.String,Microsoft.Extensions.Primitives.StringValues})">
+        <member name="M:Apq.Extension.Ext_HttpContext.ToQueryString(System.Collections.Generic.Dictionary{System.String,Microsoft.Extensions.Primitives.StringValues},System.Text.Encoding)">
             <summary>
             <summary>
             转为QueryString,如果不为空,则以?开头
             转为QueryString,如果不为空,则以?开头
             </summary>
             </summary>

+ 37 - 0
Debug/net8.0/Apq.deps.json

@@ -8,6 +8,7 @@
     ".NETCoreApp,Version=v8.0": {
     ".NETCoreApp,Version=v8.0": {
       "Apq/1.0.0": {
       "Apq/1.0.0": {
         "dependencies": {
         "dependencies": {
+          "AntiXSS.NetStandard": "0.1.125",
           "ConsoleTables": "2.6.1",
           "ConsoleTables": "2.6.1",
           "GuerrillaNtp": "3.1.0",
           "GuerrillaNtp": "3.1.0",
           "Microsoft.Extensions.Configuration.EnvironmentVariables": "8.0.0",
           "Microsoft.Extensions.Configuration.EnvironmentVariables": "8.0.0",
@@ -31,6 +32,28 @@
           "Apq.dll": {}
           "Apq.dll": {}
         }
         }
       },
       },
+      "AntiXSS.NetStandard/0.1.125": {
+        "dependencies": {
+          "AntiXSS.NetStandard.HtmlSanitization": "0.1.125"
+        },
+        "runtime": {
+          "lib/netstandard2.0/AntiXssLibrary.dll": {
+            "assemblyVersion": "0.1.0.0",
+            "fileVersion": "0.1.125.12703"
+          }
+        }
+      },
+      "AntiXSS.NetStandard.HtmlSanitization/0.1.125": {
+        "dependencies": {
+          "System.Configuration.ConfigurationManager": "6.0.0"
+        },
+        "runtime": {
+          "lib/netstandard2.0/Microsoft.Security.Application.HtmlSanitization.dll": {
+            "assemblyVersion": "0.1.0.0",
+            "fileVersion": "0.1.125.12703"
+          }
+        }
+      },
       "BouncyCastle.Cryptography/2.2.1": {
       "BouncyCastle.Cryptography/2.2.1": {
         "runtime": {
         "runtime": {
           "lib/net6.0/BouncyCastle.Cryptography.dll": {
           "lib/net6.0/BouncyCastle.Cryptography.dll": {
@@ -939,6 +962,20 @@
       "serviceable": false,
       "serviceable": false,
       "sha512": ""
       "sha512": ""
     },
     },
+    "AntiXSS.NetStandard/0.1.125": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-Vql+vsrA2RG54nWiknBh7YoMKknvXbUeeSwhIjv/WET0NQEpUGZVEHtjN2HARsLiIhCF+TCgqYm/BnbIBy29bA==",
+      "path": "antixss.netstandard/0.1.125",
+      "hashPath": "antixss.netstandard.0.1.125.nupkg.sha512"
+    },
+    "AntiXSS.NetStandard.HtmlSanitization/0.1.125": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-0Fc4E89fqmuumHacMaujPYdF3YWc7/HuK9ovC5PCAZjHf9HvjVw+HVK+tMqmReB6sHUxtaj5mhGOFElne8Eu8Q==",
+      "path": "antixss.netstandard.htmlsanitization/0.1.125",
+      "hashPath": "antixss.netstandard.htmlsanitization.0.1.125.nupkg.sha512"
+    },
     "BouncyCastle.Cryptography/2.2.1": {
     "BouncyCastle.Cryptography/2.2.1": {
       "type": "package",
       "type": "package",
       "serviceable": true,
       "serviceable": true,

BIN
Debug/net8.0/Apq.dll


BIN
Debug/net8.0/Apq.pdb


+ 4 - 4
Debug/net8.0/Apq.xml

@@ -3423,7 +3423,7 @@
             使用HttpClient进行Http访问
             使用HttpClient进行Http访问
             </summary>
             </summary>
         </member>
         </member>
-        <member name="M:Apq.Net.HttpClientHelper.GetResponseString(System.String,System.Threading.CancellationToken,System.Net.Http.HttpMethod,System.Collections.Generic.List{System.Collections.Generic.KeyValuePair{System.String,System.String}},System.Boolean,System.Text.Encoding,System.Func{System.String,System.Text.Encoding,System.String})">
+        <member name="M:Apq.Net.HttpClientHelper.GetResponseString(System.String,System.Threading.CancellationToken,System.Net.Http.HttpMethod,System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{System.String,System.String}},System.Boolean,System.Text.Encoding,System.Func{System.String,System.Text.Encoding,System.String})">
             <summary>
             <summary>
             Get请求时,整合参数到url再访问,返回响应串
             Get请求时,整合参数到url再访问,返回响应串
             </summary>
             </summary>
@@ -3433,7 +3433,7 @@
             <param name="ps">参数</param>
             <param name="ps">参数</param>
             <param name="disableCache">是否禁用缓存</param>
             <param name="disableCache">是否禁用缓存</param>
             <param name="encoding">编码格式</param>
             <param name="encoding">编码格式</param>
-            <param name="urlEncodeFunc">提供url编码方法。默认使用 WebUtility.UrlEncode。</param>
+            <param name="urlEncodeFunc">提供url编码方法。默认使用 Encoder.UrlEncode。</param>
         </member>
         </member>
         <member name="T:Apq.Net.HttpClientor">
         <member name="T:Apq.Net.HttpClientor">
             <summary>
             <summary>
@@ -3517,7 +3517,7 @@
             参考来自 stackoverflow
             参考来自 stackoverflow
             </summary>
             </summary>
         </member>
         </member>
-        <member name="M:Apq.Net.UrlHelper.GetUrlWithoutParams(System.String,System.Collections.Generic.IList{System.String})">
+        <member name="M:Apq.Net.UrlHelper.GetUrlWithoutParams(System.String,System.Collections.Generic.IEnumerable{System.String})">
             <summary>
             <summary>
             获取不含参数的url
             获取不含参数的url
             </summary>
             </summary>
@@ -3546,7 +3546,7 @@
             <param name="key">参数名称(如果同名参数有多个,只取第一个)</param>
             <param name="key">参数名称(如果同名参数有多个,只取第一个)</param>
             <returns>参数值,是否获取成功</returns>
             <returns>参数值,是否获取成功</returns>
         </member>
         </member>
-        <!-- Badly formed XML comment ignored for member "M:Apq.Net.UrlHelper.BuildQueryString(System.Collections.Generic.IList{System.Collections.Generic.KeyValuePair{System.String,System.String}},System.Text.Encoding,System.Func{System.String,System.Text.Encoding,System.String})" -->
+        <!-- Badly formed XML comment ignored for member "M:Apq.Net.UrlHelper.BuildQueryString(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{System.String,System.String}},System.Text.Encoding,System.Func{System.String,System.Text.Encoding,System.String})" -->
         <member name="T:Apq.NotifyChange.ListItemChanged`1">
         <member name="T:Apq.NotifyChange.ListItemChanged`1">
             <summary>
             <summary>
             表示列表中更改的一项(一行)
             表示列表中更改的一项(一行)

+ 37 - 0
Release/net8.0/Apq.Web5.deps.json

@@ -15,6 +15,28 @@
           "Apq.Web5.dll": {}
           "Apq.Web5.dll": {}
         }
         }
       },
       },
+      "AntiXSS.NetStandard/0.1.125": {
+        "dependencies": {
+          "AntiXSS.NetStandard.HtmlSanitization": "0.1.125"
+        },
+        "runtime": {
+          "lib/netstandard2.0/AntiXssLibrary.dll": {
+            "assemblyVersion": "0.1.0.0",
+            "fileVersion": "0.1.125.12703"
+          }
+        }
+      },
+      "AntiXSS.NetStandard.HtmlSanitization/0.1.125": {
+        "dependencies": {
+          "System.Configuration.ConfigurationManager": "6.0.1"
+        },
+        "runtime": {
+          "lib/netstandard2.0/Microsoft.Security.Application.HtmlSanitization.dll": {
+            "assemblyVersion": "0.1.0.0",
+            "fileVersion": "0.1.125.12703"
+          }
+        }
+      },
       "BouncyCastle.Cryptography/2.2.1": {
       "BouncyCastle.Cryptography/2.2.1": {
         "runtime": {
         "runtime": {
           "lib/net6.0/BouncyCastle.Cryptography.dll": {
           "lib/net6.0/BouncyCastle.Cryptography.dll": {
@@ -849,6 +871,7 @@
       },
       },
       "Apq/1.0.0": {
       "Apq/1.0.0": {
         "dependencies": {
         "dependencies": {
+          "AntiXSS.NetStandard": "0.1.125",
           "ConsoleTables": "2.6.1",
           "ConsoleTables": "2.6.1",
           "GuerrillaNtp": "3.1.0",
           "GuerrillaNtp": "3.1.0",
           "Microsoft.Extensions.Configuration.EnvironmentVariables": "8.0.0",
           "Microsoft.Extensions.Configuration.EnvironmentVariables": "8.0.0",
@@ -880,6 +903,20 @@
       "serviceable": false,
       "serviceable": false,
       "sha512": ""
       "sha512": ""
     },
     },
+    "AntiXSS.NetStandard/0.1.125": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-Vql+vsrA2RG54nWiknBh7YoMKknvXbUeeSwhIjv/WET0NQEpUGZVEHtjN2HARsLiIhCF+TCgqYm/BnbIBy29bA==",
+      "path": "antixss.netstandard/0.1.125",
+      "hashPath": "antixss.netstandard.0.1.125.nupkg.sha512"
+    },
+    "AntiXSS.NetStandard.HtmlSanitization/0.1.125": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-0Fc4E89fqmuumHacMaujPYdF3YWc7/HuK9ovC5PCAZjHf9HvjVw+HVK+tMqmReB6sHUxtaj5mhGOFElne8Eu8Q==",
+      "path": "antixss.netstandard.htmlsanitization/0.1.125",
+      "hashPath": "antixss.netstandard.htmlsanitization.0.1.125.nupkg.sha512"
+    },
     "BouncyCastle.Cryptography/2.2.1": {
     "BouncyCastle.Cryptography/2.2.1": {
       "type": "package",
       "type": "package",
       "serviceable": true,
       "serviceable": true,

BIN
Release/net8.0/Apq.Web5.dll


BIN
Release/net8.0/Apq.Web5.pdb


+ 1 - 6
Release/net8.0/Apq.Web5.xml

@@ -9,11 +9,6 @@
             Http请求扩展
             Http请求扩展
             </summary>
             </summary>
         </member>
         </member>
-        <member name="F:Apq.Extension.Ext_HttpContext.COMMA">
-            <summary>
-            逗号
-            </summary>
-        </member>
         <member name="M:Apq.Extension.Ext_HttpContext.GetPostString(Microsoft.AspNetCore.Http.HttpRequest,System.Text.Encoding)">
         <member name="M:Apq.Extension.Ext_HttpContext.GetPostString(Microsoft.AspNetCore.Http.HttpRequest,System.Text.Encoding)">
             <summary>
             <summary>
             获取POST提交过来的内容
             获取POST提交过来的内容
@@ -62,7 +57,7 @@
             </summary>
             </summary>
             <param name="PostFirst">是:优先获取POST参数;否:优先获取GET参数</param>
             <param name="PostFirst">是:优先获取POST参数;否:优先获取GET参数</param>
         </member>
         </member>
-        <member name="M:Apq.Extension.Ext_HttpContext.ToQueryString(System.Collections.Generic.Dictionary{System.String,Microsoft.Extensions.Primitives.StringValues})">
+        <member name="M:Apq.Extension.Ext_HttpContext.ToQueryString(System.Collections.Generic.Dictionary{System.String,Microsoft.Extensions.Primitives.StringValues},System.Text.Encoding)">
             <summary>
             <summary>
             转为QueryString,如果不为空,则以?开头
             转为QueryString,如果不为空,则以?开头
             </summary>
             </summary>

+ 37 - 0
Release/net8.0/Apq.deps.json

@@ -8,6 +8,7 @@
     ".NETCoreApp,Version=v8.0": {
     ".NETCoreApp,Version=v8.0": {
       "Apq/1.0.0": {
       "Apq/1.0.0": {
         "dependencies": {
         "dependencies": {
+          "AntiXSS.NetStandard": "0.1.125",
           "ConsoleTables": "2.6.1",
           "ConsoleTables": "2.6.1",
           "GuerrillaNtp": "3.1.0",
           "GuerrillaNtp": "3.1.0",
           "Microsoft.Extensions.Configuration.EnvironmentVariables": "8.0.0",
           "Microsoft.Extensions.Configuration.EnvironmentVariables": "8.0.0",
@@ -31,6 +32,28 @@
           "Apq.dll": {}
           "Apq.dll": {}
         }
         }
       },
       },
+      "AntiXSS.NetStandard/0.1.125": {
+        "dependencies": {
+          "AntiXSS.NetStandard.HtmlSanitization": "0.1.125"
+        },
+        "runtime": {
+          "lib/netstandard2.0/AntiXssLibrary.dll": {
+            "assemblyVersion": "0.1.0.0",
+            "fileVersion": "0.1.125.12703"
+          }
+        }
+      },
+      "AntiXSS.NetStandard.HtmlSanitization/0.1.125": {
+        "dependencies": {
+          "System.Configuration.ConfigurationManager": "6.0.0"
+        },
+        "runtime": {
+          "lib/netstandard2.0/Microsoft.Security.Application.HtmlSanitization.dll": {
+            "assemblyVersion": "0.1.0.0",
+            "fileVersion": "0.1.125.12703"
+          }
+        }
+      },
       "BouncyCastle.Cryptography/2.2.1": {
       "BouncyCastle.Cryptography/2.2.1": {
         "runtime": {
         "runtime": {
           "lib/net6.0/BouncyCastle.Cryptography.dll": {
           "lib/net6.0/BouncyCastle.Cryptography.dll": {
@@ -939,6 +962,20 @@
       "serviceable": false,
       "serviceable": false,
       "sha512": ""
       "sha512": ""
     },
     },
+    "AntiXSS.NetStandard/0.1.125": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-Vql+vsrA2RG54nWiknBh7YoMKknvXbUeeSwhIjv/WET0NQEpUGZVEHtjN2HARsLiIhCF+TCgqYm/BnbIBy29bA==",
+      "path": "antixss.netstandard/0.1.125",
+      "hashPath": "antixss.netstandard.0.1.125.nupkg.sha512"
+    },
+    "AntiXSS.NetStandard.HtmlSanitization/0.1.125": {
+      "type": "package",
+      "serviceable": true,
+      "sha512": "sha512-0Fc4E89fqmuumHacMaujPYdF3YWc7/HuK9ovC5PCAZjHf9HvjVw+HVK+tMqmReB6sHUxtaj5mhGOFElne8Eu8Q==",
+      "path": "antixss.netstandard.htmlsanitization/0.1.125",
+      "hashPath": "antixss.netstandard.htmlsanitization.0.1.125.nupkg.sha512"
+    },
     "BouncyCastle.Cryptography/2.2.1": {
     "BouncyCastle.Cryptography/2.2.1": {
       "type": "package",
       "type": "package",
       "serviceable": true,
       "serviceable": true,

BIN
Release/net8.0/Apq.dll


BIN
Release/net8.0/Apq.pdb


+ 4 - 4
Release/net8.0/Apq.xml

@@ -3423,7 +3423,7 @@
             使用HttpClient进行Http访问
             使用HttpClient进行Http访问
             </summary>
             </summary>
         </member>
         </member>
-        <member name="M:Apq.Net.HttpClientHelper.GetResponseString(System.String,System.Threading.CancellationToken,System.Net.Http.HttpMethod,System.Collections.Generic.List{System.Collections.Generic.KeyValuePair{System.String,System.String}},System.Boolean,System.Text.Encoding,System.Func{System.String,System.Text.Encoding,System.String})">
+        <member name="M:Apq.Net.HttpClientHelper.GetResponseString(System.String,System.Threading.CancellationToken,System.Net.Http.HttpMethod,System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{System.String,System.String}},System.Boolean,System.Text.Encoding,System.Func{System.String,System.Text.Encoding,System.String})">
             <summary>
             <summary>
             Get请求时,整合参数到url再访问,返回响应串
             Get请求时,整合参数到url再访问,返回响应串
             </summary>
             </summary>
@@ -3433,7 +3433,7 @@
             <param name="ps">参数</param>
             <param name="ps">参数</param>
             <param name="disableCache">是否禁用缓存</param>
             <param name="disableCache">是否禁用缓存</param>
             <param name="encoding">编码格式</param>
             <param name="encoding">编码格式</param>
-            <param name="urlEncodeFunc">提供url编码方法。默认使用 WebUtility.UrlEncode。</param>
+            <param name="urlEncodeFunc">提供url编码方法。默认使用 Encoder.UrlEncode。</param>
         </member>
         </member>
         <member name="T:Apq.Net.HttpClientor">
         <member name="T:Apq.Net.HttpClientor">
             <summary>
             <summary>
@@ -3517,7 +3517,7 @@
             参考来自 stackoverflow
             参考来自 stackoverflow
             </summary>
             </summary>
         </member>
         </member>
-        <member name="M:Apq.Net.UrlHelper.GetUrlWithoutParams(System.String,System.Collections.Generic.IList{System.String})">
+        <member name="M:Apq.Net.UrlHelper.GetUrlWithoutParams(System.String,System.Collections.Generic.IEnumerable{System.String})">
             <summary>
             <summary>
             获取不含参数的url
             获取不含参数的url
             </summary>
             </summary>
@@ -3546,7 +3546,7 @@
             <param name="key">参数名称(如果同名参数有多个,只取第一个)</param>
             <param name="key">参数名称(如果同名参数有多个,只取第一个)</param>
             <returns>参数值,是否获取成功</returns>
             <returns>参数值,是否获取成功</returns>
         </member>
         </member>
-        <!-- Badly formed XML comment ignored for member "M:Apq.Net.UrlHelper.BuildQueryString(System.Collections.Generic.IList{System.Collections.Generic.KeyValuePair{System.String,System.String}},System.Text.Encoding,System.Func{System.String,System.Text.Encoding,System.String})" -->
+        <!-- Badly formed XML comment ignored for member "M:Apq.Net.UrlHelper.BuildQueryString(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{System.String,System.String}},System.Text.Encoding,System.Func{System.String,System.Text.Encoding,System.String})" -->
         <member name="T:Apq.NotifyChange.ListItemChanged`1">
         <member name="T:Apq.NotifyChange.ListItemChanged`1">
             <summary>
             <summary>
             表示列表中更改的一项(一行)
             表示列表中更改的一项(一行)