We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59fcbec commit 420132aCopy full SHA for 420132a
internal/sqlcommenter/commenter.go
@@ -82,7 +82,7 @@ func agentName() string {
82
83
// encode percent-encodes a value according to the SQLCommenter spec (RFC 3986).
84
func encode(v string) string {
85
- return url.QueryEscape(v)
+ return strings.ReplaceAll(url.QueryEscape(v), "+", "%20")
86
}
87
88
// AppendComment appends a SQLCommenter comment to sql. The comment carries the
0 commit comments