ztxkutils 2.10.45 → 2.10.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fileOperation.js +3 -3
- package/dist/request-ef290b9a.js +2838 -0
- package/dist/stompClient.d.ts +3 -0
- package/dist/stompClient.js +41 -11
- package/dist/validate-6e735536.js +79 -0
- package/package.json +2 -2
- package/dist/validate-2081dd82.js +0 -161
- package/dist/validate-20c4d4f6.js +0 -161
- package/dist/validate-e3483c15.js +0 -196
package/dist/fileOperation.js
CHANGED
@@ -196,7 +196,7 @@ function previewFile(fileUrl, fileId, otherOption) {
|
|
196
196
|
}
|
197
197
|
var titleName = dangerouslySetXss(otherOption === null || otherOption === void 0 ? void 0 : otherOption.titleName);
|
198
198
|
try {
|
199
|
-
titleName = titleName.replace(/[~!@#$%^&*]/g, '');
|
199
|
+
titleName = titleName.replace(/[~!@#$%^&*{}|]/g, '');
|
200
200
|
}
|
201
201
|
catch (err) {
|
202
202
|
console.log(err);
|
@@ -234,7 +234,7 @@ function batchPreviewFile(fileUrl, fileId, otherOption) {
|
|
234
234
|
}
|
235
235
|
var titleName = dangerouslySetXss(otherOption === null || otherOption === void 0 ? void 0 : otherOption.titleName);
|
236
236
|
try {
|
237
|
-
titleName = titleName.replace(/[~!@#$%^&*]/g, '');
|
237
|
+
titleName = titleName.replace(/[~!@#$%^&*{}|]/g, '');
|
238
238
|
}
|
239
239
|
catch (err) {
|
240
240
|
console.log(err);
|
@@ -259,7 +259,7 @@ function createOriginalUrl(fileUrl, fileId, otherOption) {
|
|
259
259
|
var token = getToken() || (otherOption === null || otherOption === void 0 ? void 0 : otherOption.authTOken);
|
260
260
|
var titleName = dangerouslySetXss(otherOption === null || otherOption === void 0 ? void 0 : otherOption.titleName);
|
261
261
|
try {
|
262
|
-
titleName = titleName.replace(/[~!@#$%^&*]/g, '');
|
262
|
+
titleName = titleName.replace(/[~!@#$%^&*{}|]/g, '');
|
263
263
|
}
|
264
264
|
catch (err) {
|
265
265
|
console.log(err);
|