mirror of
https://github.com/golang/go
synced 2024-09-24 07:20:14 -06:00
Update url.go
This commit is contained in:
parent
cbce223da0
commit
b3f8a8f165
@ -164,7 +164,7 @@ func shouldEscape(c byte, mode encoding) bool {
|
||||
|
||||
// QueryUnescape does the inverse transformation of QueryEscape,
|
||||
// converting each 3-byte encoded substring of the form "%AB" into the
|
||||
// hex-decoded byte 0xAB. It also converts '+' into ' ' (space).
|
||||
// hex-decoded byte 0xAB.
|
||||
// It returns an error if any % is not followed by two hexadecimal
|
||||
// digits.
|
||||
func QueryUnescape(s string) (string, error) {
|
||||
|
Loading…
Reference in New Issue
Block a user