]> Cypherpunks repositories - gostls13.git/commit
Fixes to URL functionality:
authorSteve Newman <devnull@localhost>
Tue, 2 Jun 2009 19:48:18 +0000 (12:48 -0700)
committerSteve Newman <devnull@localhost>
Tue, 2 Jun 2009 19:48:18 +0000 (12:48 -0700)
commitda0a582564da3a0afeaa17336a025876a925db0e
treed611e8cc380e26e374b6771a58202ee157cceb2b
parente11f833bed1f445a4fd8ccb813fa000386d277e1
Fixes to URL functionality:
- Extend http.URLUnescape to convert '+' to space
- Add http.URLEscape
- Rename URL.Query to EncodedQuery (and stop decoding it, as decoding this field
  before separating key/value pairs loses important information)
- Report a clean error on incomplete hex escapes
- Update existing tests, add new ones

APPROVED=rsc
DELTA=293  (256 added, 3 deleted, 34 changed)
OCL=29685
CL=29759
src/lib/http/url.go
src/lib/http/url_test.go