init: web_hgdjc_server

This commit is contained in:
2026-11-07 10:46:18 +08:00
commit b2ff6ac8ff
707 changed files with 147645 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
package api_security
import (
"fmt"
"net/url"
"testing"
)
func TestUrl(t *testing.T) {
u, _ := url.Parse("http://a.b.com/api/a/b/c?a=%20123")
fmt.Printf("path: %s\n", u.Path)
fmt.Printf("rawpath: %s\n", u.RawQuery)
fmt.Printf("escapedpath: %s\n", u.EscapedPath())
}