Implement connstring handling #247

Merged
lash merged 28 commits from lash/purify-more into master 2025-01-09 13:03:29 +01:00
Showing only changes of commit 6339f0c2e5 - Show all commits

View File

@ -81,7 +81,8 @@ func (arp *ATRequestParser) GetInput(rq any) ([]byte, error) {
return nil, fmt.Errorf("no input found") return nil, fmt.Errorf("no input found")
} }
return []byte(parts[len(parts)-1]), nil trimmedInput := strings.TrimSpace(parts[len(parts)-1])
return []byte(trimmedInput), nil
} }
func parseQueryParams(query string) map[string]string { func parseQueryParams(query string) map[string]string {