Skip to content

Commit 00c5ef1

Browse files
committed
fix(apipost): cmd curl未正常转义
1 parent ca21216 commit 00c5ef1

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

plugin-apipost/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
group = "me.leon.toolsfx"
2-
version = "1.11.0"
2+
version = "1.11.1"
33

44
plugins {
55
`java-library`

plugin-apipost/src/main/kotlin/me/leon/toolsfx/plugin/ApiPostView.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ import tornadofx.*
2525
private const val MAX_SHOW_LENGTH = 1_000_000
2626

2727
class ApiPostView : PluginFragment("ApiPost") {
28-
override val version = "v1.11.0"
29-
override val date: String = "2025-09-07"
28+
override val version = "v1.11.1"
29+
override val date: String = "2025-09-13"
3030
override val author = "Leon406"
3131
override val description = "ApiPost"
3232

plugin-apipost/src/main/kotlin/me/leon/toolsfx/plugin/net/CUrl.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ fun String.cookieParse() =
2525
}
2626

2727
val separator = """\s*[\^\\]\s+""".toRegex()
28-
val winEscapeReg = """\^(\W)""".toRegex()
28+
val winEscapeReg = """\^([\W\d])""".toRegex()
2929

3030
fun String.winEscape() = replace("^\\^\"", "\"").replace(winEscapeReg, "$1")
3131

0 commit comments

Comments
 (0)