mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 15:10:12 +01:00
🐛 Fix the issue of unparsing PostForm (#9746)
This commit is contained in:
parent
2f2abf0eff
commit
698a02beb1
1 changed files with 3 additions and 0 deletions
|
|
@ -22,6 +22,7 @@ import (
|
||||||
"encoding/hex"
|
"encoding/hex"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
|
"math"
|
||||||
"net/http"
|
"net/http"
|
||||||
"net/url"
|
"net/url"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
@ -45,6 +46,8 @@ func echo(c *gin.Context) {
|
||||||
} else {
|
} else {
|
||||||
rawData = nil
|
rawData = nil
|
||||||
}
|
}
|
||||||
|
c.Request.ParseForm()
|
||||||
|
c.Request.ParseMultipartForm(math.MaxInt64)
|
||||||
|
|
||||||
ret.Data = map[string]interface{}{
|
ret.Data = map[string]interface{}{
|
||||||
"Context": map[string]interface{}{
|
"Context": map[string]interface{}{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue