An error occurred fetching the project authors.
- 17 Oct, 2013 1 commit
-
-
Brad Fitzpatrick authored
Only add a slash to path if it's a separator between a host and path. Fixes #6609 R=golang-dev, dsymonds, r CC=golang-dev https://golang.org/cl/14815043
-
- 01 Aug, 2013 1 commit
-
-
Scott Ferguson authored
Previously if a path was set manually without a leading /, String() would not insert the slash when writing its output. This would lead to situations where a URL that should be http://www.google.com/search is output as http://www.google.comsearch Fixes #5927. R=golang-dev, bradfitz, rsc, 0xjnml CC=golang-dev https://golang.org/cl/11698045
-
- 11 Mar, 2013 1 commit
-
-
Rodrigo Moraes de Oliveira authored
This includes a simplified resolvePath function and tests for all normal and abnormal path resolution examples described in RFC 3986, sections 5.4.1 and 5.4.2 [1]. Some of those examples failed before (see http://play.golang.org/p/F0ApSaXniv). Also, parsing a reference "//foo" now works as expected. It was treated as an absolute path with very weird results (see http://play.golang.org/p/089b-_xoNe). During path resolution, all dot segments are removed as described by the RFC. A few existing tests had to be changed because they expected the wrong output. Fixes #4700. Fixes #4706. [1] http://tools.ietf.org/html/rfc3986#section-5.4.1 R=rsc, adg, bradfitz CC=golang-dev https://golang.org/cl/7203059
-
- 21 Feb, 2013 1 commit
-
-
Brad Fitzpatrick authored
Update #4860 R=adg, rsc, campoy CC=golang-dev https://golang.org/cl/7369045
-
- 31 Jan, 2013 1 commit
-
-
Russ Cox authored
Also document %2f vs / ambiguity in URL.Path. Fixes #3913. Fixes #3659. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7225076
-
- 23 Jan, 2013 2 commits
-
-
Andrew Gerrand authored
BenchmarkString before: 11990 ns/op 1621 B/op 73 allocs/op Using bytes.Buffer: 8774 ns/op 1994 B/op 40 allocs/op I also tried making a version of escape() that writes directly to the bytes.Buffer, but it only saved 1 alloc/op and increased CPU time by about 10%. Didn't seem worth the extra code path. R=bradfitz CC=golang-dev https://golang.org/cl/7182050
-
Andrew Gerrand authored
Parse("file:///foo") previously returned a URL with Scheme "file" and Path "///foo". Now it returns a URL with Path "/foo", such that &URL{Scheme: "file", Path: "/foo"}.String() == "file:///foo" This means that parsing and stringifying the URL "file:/foo" returns "file:///foo", technically a regression but one that only affects a corner case. Fixes #4189. R=bradfitz, rsc CC=golang-dev https://golang.org/cl/7135051
-
- 11 Dec, 2012 2 commits
-
-
Brad Fitzpatrick authored
Also, implement a global OPTIONS * handler, like Apache. Permit sending "*" requests to handlers, but not path-based (ServeMux) handlers. That means people can go out of their way to support SSDP or SIP or whatever, but most users will be unaffected. See RFC 2616 Section 5.1.2 (Request-URI) See RFC 2616 Section 9.2 (OPTIONS) Fixes #3692 R=rsc CC=golang-dev https://golang.org/cl/6868095
-
Rick Arnold authored
Fixes #3560. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6886047
-
- 08 Oct, 2012 1 commit
-
-
David Symonds authored
Fixes #4175. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6610068
-
- 18 Jun, 2012 1 commit
-
-
Brad Fitzpatrick authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/6303098
-
- 22 May, 2012 1 commit
-
-
Alexey Borzenkov authored
Fixes #3439 R=r, rsc, dsymonds, n13m3y3r CC=golang-dev https://golang.org/cl/6206090
-
- 05 Apr, 2012 1 commit
-
-
Stéphane Travostino authored
The shouldEscape function did not correctly escape the reserved characters listed in RFC 3986 §2.2, breaking some strict web servers. Fixes #3433. R=rsc CC=golang-dev https://golang.org/cl/5970050
-
- 17 Feb, 2012 1 commit
-
-
Russ Cox authored
Convert cryptotype to general go1rename fix. Add os.Exec -> syscall.Exec fix along with new URL fixes. Fixes #2946. R=golang-dev, r, dsymonds CC=golang-dev https://golang.org/cl/5672072
-
- 16 Feb, 2012 1 commit
-
-
David Symonds authored
Updates #2946. R=golang-dev, r, r CC=golang-dev https://golang.org/cl/5671061
-
- 17 Jan, 2012 1 commit
-
-
Gustavo Niemeyer authored
Duplicated fields from URL were dropped so that its behavior is simple and expected when being stringified and when being operated by packages like http. Most of the preserved fields are in unencoded form, except for RawQuery which continues to exist and be more easily handled via url.Query(). The RawUserinfo field was also replaced since it wasn't practical to use and had limitations when operating with empty usernames and passwords which are allowed by the RFC. In its place the Userinfo type was introduced and made accessible through the url.User and url.UserPassword functions. What was previous built as: url.URL{RawUserinfo: url.EncodeUserinfo("user", ""), ...} Is now built as: url.URL{User: url.User("user"), ...} R=rsc, bradfitz, gustavo CC=golang-dev https://golang.org/cl/5498076
-
- 03 Nov, 2011 1 commit
-
-
Rob Pike authored
This is Go 1 package renaming CL #3. This one merely moves the source; the import strings will be changed after the next weekly release. This one moves pieces into net. http -> net/http http/cgi -> net/http/cgi http/fcgi -> net/http/fcgi http/pprof -> net/http/pprof http/httptest -> net/http/httptest mail -> net/mail rpc -> net/rpc rpc/jsonrpc -> net/rpc/jsonrpc smtp -> net/smtp url -> net/url Also remove rand (now math/rand) from NOTEST - it has a test. The only edits are in Makefiles and deps.bash. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5335048
-
- 02 Nov, 2011 1 commit
-
-
Russ Cox authored
R=golang-dev, bsiegert, iant CC=golang-dev https://golang.org/cl/5294074
-
- 06 Sep, 2011 1 commit
-
-
Russ Cox authored
Most web frameworks allow ; as a synonym for &, following a recommendation in some versions of the HTML specification. Do the same. Remove overuse of Split. Move ParseQuery tests from package http to package url. Fixes #2210. R=golang-dev, r CC=golang-dev https://golang.org/cl/4973062
-
- 17 Aug, 2011 1 commit
-
-
Rob Pike authored
This is just moving the URL code from package http into its own package, which has been planned for a while. Besides clarity, this also breaks a nascent dependency cycle the new template package was about to introduce. Add a gofix module, url, and use it to generate changes outside http and url. Sadness about the churn, gladness about some of the naming improvements. R=dsymonds, bradfitz, rsc, gustavo, r CC=golang-dev https://golang.org/cl/4893043
-
- 08 Jun, 2011 1 commit
-
-
Brad Fitzpatrick authored
This replaces most the map[string][]string usage with a new Values type name, with the usual methods. It also changes client.PostForm to take a Values, rather than a map[string]string, closing a TODO in the code. R=rsc CC=golang-dev https://golang.org/cl/4532123
-
- 04 Apr, 2011 1 commit
-
-
Matt Jones authored
According to RFC 3986: "For consistency, URI producers and normalizers should use uppercase hexadecimal digits for all percent-encodings." Using lower case characters makes it incompatible with Google APIs when signing OAuth requests. R=golang-dev, rsc1, rsc CC=golang-dev https://golang.org/cl/4352044
-
- 19 Jan, 2011 1 commit
-
-
Brad Fitzpatrick authored
R=rsc, adg CC=golang-dev https://golang.org/cl/4002041
-
- 13 Jan, 2011 1 commit
-
-
Brad Fitzpatrick authored
Also adds some tests for Issue 900 which was the reason the current URL parsing is broken. (the previous fix was wrong) R=rsc, adg, dangabrad, bradfitzwork CC=golang-dev https://golang.org/cl/3910042
-
- 07 Dec, 2010 2 commits
-
-
Russ Cox authored
R=dsymonds TBR=dsymonds CC=golang-dev https://golang.org/cl/3425044
-
David Symonds authored
R=stephenm, rsc CC=golang-dev https://golang.org/cl/2985042
-
- 22 Oct, 2010 1 commit
-
-
Robert Griesemer authored
R=r, rsc CC=golang-dev https://golang.org/cl/2662041
-
- 28 Sep, 2010 1 commit
-
-
Russ Cox authored
Fixes #1076. R=adg CC=golang-dev https://golang.org/cl/2248045
-
- 26 Aug, 2010 1 commit
-
-
Scott Lawrence authored
Fixes #974. R=rsc CC=golang-dev https://golang.org/cl/1742057
-
- 12 Jul, 2010 1 commit
-
-
Andrew Gerrand authored
Fixes #900. R=rsc CC=golang-dev https://golang.org/cl/1756042
-
- 17 Mar, 2010 1 commit
-
-
Russ Cox authored
The new meaning is more useful for both websocket and http. R=r, petar-m, ukai CC=golang-dev, madari https://golang.org/cl/582043
-
- 08 Jan, 2010 1 commit
-
-
Russ Cox authored
Fixes #502. R=r, hoisie CC=golang-dev https://golang.org/cl/181179
-
- 06 Jan, 2010 1 commit
-
-
Ivan Krasin authored
R=rsc, imkrasin CC=golang-dev https://golang.org/cl/179126
-
- 15 Dec, 2009 1 commit
-
-
Robert Griesemer authored
parsing and printing to new syntax. Use -oldparser to parse the old syntax, use -oldprinter to print the old syntax. 2) Change default gofmt formatting settings to use tabs for indentation only and to use spaces for alignment. This will make the code alignment insensitive to an editor's tabwidth. Use -spaces=false to use tabs for alignment. 3) Manually changed src/exp/parser/parser_test.go so that it doesn't try to parse the parser's source files using the old syntax (they have new syntax now). 4) gofmt -w src misc test/bench 3rd set of files. R=rsc CC=golang-dev https://golang.org/cl/180048
-
- 15 Nov, 2009 1 commit
-
-
Russ Cox authored
Fixes #125. R=r https://golang.org/cl/154143
-
- 09 Nov, 2009 1 commit
-
-
Robert Griesemer authored
R=rsc, r http://go/go-review/1025029
-
- 05 Nov, 2009 1 commit
-
-
Robert Griesemer authored
(gofmt will be able to re-align map entries as in http nicely, eventually) R=rsc http://go/go-review/1018055
-
- 15 Sep, 2009 1 commit
-
-
Russ Cox authored
the last round omitted := range and only checked 1 out of N vars in a multi-var := R=r OCL=34624 CL=34638
-
- 12 Aug, 2009 1 commit
-
-
Russ Cox authored
to whole-package compilation. R=r OCL=33070 CL=33101
-
- 26 Jun, 2009 1 commit
-
-
Russ Cox authored
echo back context of call in error if likely to be useful. For example, if os.Open("/etc/passwd", os.O_RDONLY) fails with syscall.EPERM, it returns as the os.Error &PathError{ Op: "open", Path: "/etc/passwd" Error: os.EPERM } which formats as open /etc/passwd: permission denied Not converted: datafmt go/... google/... regexp tabwriter template R=r DELTA=1153 (561 added, 156 deleted, 436 changed) OCL=30738 CL=30781
-