1
0
mirror of https://github.com/golang/go synced 2024-10-04 12:31:21 -06:00
go/src/pkg/net
Stéphane Travostino 56024fa64e net/url: Correctly escape URL as per RFC 3986
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
2012-04-05 13:23:08 -04:00
..
http net/http: couple more triv.go modernizations 2012-03-15 10:06:25 -07:00
mail net/mail: close minor TODO that was waiting on a 6g bug fix. 2012-03-10 19:02:52 +11:00
rpc net, net/rpc, reflect, time: document concurrency guarantees 2012-03-07 14:55:09 -05:00
smtp net/smtp: use EHLO then HELO 2012-02-21 16:39:02 -05:00
testdata net: make parseProcNetIGMP more robust 2012-02-23 06:26:31 +09:00
textproto net/textproto: accept bad MIME headers as browsers do 2012-02-22 11:13:59 +11:00
url net/url: Correctly escape URL as per RFC 3986 2012-04-05 13:23:08 -04:00
cgo_bsd.go build: add build comments to core packages 2011-09-15 16:48:57 -04:00
cgo_linux.go net: fix EAI_BADFLAGS error on freebsd 2011-04-21 10:22:53 -04:00
cgo_stub.go go/build: add BuildTags to Context, allow !tag 2012-01-23 15:16:38 -05:00
cgo_unix.go src/pkg/[n-z]*: gofix -r error -force=error 2011-11-01 22:05:34 -04:00
dial_test.go net: use IANA reserved port to test dial timeout 2012-03-07 16:28:40 +09:00
dial.go net: fix comment on Dial with unixgram 2012-02-29 07:45:38 +09:00
dialgoogle_test.go net: make -external flag for tests default to true 2012-03-01 07:39:03 +09:00
dnsclient_unix.go net: change SetTimeout to SetDeadline 2012-01-18 16:24:06 -08:00
dnsclient.go net: remove all direct fmt and bytes imports 2012-03-05 13:36:05 -08:00
dnsconfig.go net: move DNSConfigError to a portable file 2012-01-31 13:01:34 -08:00
dnsmsg_test.go net: do not use reflect for DNS messages. 2012-03-06 08:02:39 +01:00
dnsmsg.go net: do not use reflect for DNS messages. 2012-03-06 08:02:39 +01:00
dnsname_test.go net: rearrange source files so we could run more tests on windows 2011-06-13 10:22:31 +10:00
doc.go pkg: add missing godoc comments to windows versions 2012-01-17 16:51:54 +11:00
example_test.go pkg: a slew of examples 2012-02-18 11:48:33 +11:00
fd_darwin.go net: replace error variable name e, errno with err 2012-02-01 00:36:45 +09:00
fd_freebsd.go net: replace error variable name e, errno with err 2012-02-01 00:36:45 +09:00
fd_linux.go net: silence another epoll print 2012-03-05 22:07:22 -05:00
fd_netbsd.go net: replace error variable name e, errno with err 2012-02-01 00:36:45 +09:00
fd_openbsd.go net: replace error variable name e, errno with err 2012-02-01 00:36:45 +09:00
fd_windows.go os: delete os.EINVAL and so on 2012-02-17 10:04:29 +11:00
fd.go net: ignore ECONNABORTED from syscall.Accept 2012-03-27 00:06:14 -04:00
file_plan9.go net, os, syscall: delete os.EPLAN9 2012-02-17 10:59:30 +09:00
file_test.go net: fix windows build 2012-03-06 10:07:08 +09:00
file_windows.go src/pkg/[n-z]*: gofix -r error -force=error 2011-11-01 22:05:34 -04:00
file.go os: delete os.EINVAL and so on 2012-02-17 10:04:29 +11:00
hosts_test.go net: move hosts testdata to testdata folder 2012-02-21 07:11:44 +09:00
hosts.go use new time API 2011-11-30 12:01:46 -05:00
interface_bsd.go net: tweak variable declarations 2012-02-03 07:40:03 +09:00
interface_darwin.go net: replace error variable name e, errno with err 2012-02-01 00:36:45 +09:00
interface_freebsd.go net: replace error variable name e, errno with err 2012-02-01 00:36:45 +09:00
interface_linux_test.go net: make parseProcNetIGMP more robust 2012-02-23 06:26:31 +09:00
interface_linux.go syscall, net: use native endianness for Linux netlink messages 2012-04-04 17:41:36 -07:00
interface_netbsd.go os: OS-dependent bits to support NetBSD. 2011-12-15 12:19:19 -05:00
interface_openbsd.go src/pkg/[n-z]*: gofix -r error -force=error 2011-11-01 22:05:34 -04:00
interface_stub.go all: various typos 2012-03-13 17:29:07 -07:00
interface_test.go net: move MAC address parser into distinct file 2012-03-05 07:42:07 +09:00
interface_windows.go all: various typos 2012-03-13 17:29:07 -07:00
interface.go net: fix typo 2012-03-09 11:50:38 +09:00
ip_test.go all: sort imports 2011-11-02 15:54:16 -04:00
ip.go net, syscall: interface address and mask 2011-12-21 21:39:00 +09:00
ipraw_test.go net: make raw IP tests robust 2012-02-23 06:27:05 +09:00
iprawsock_plan9.go net, os, syscall: delete os.EPLAN9 2012-02-17 10:59:30 +09:00
iprawsock_posix.go net: make Dial and Listen behavior consistent across over platforms 2012-03-06 00:13:10 +09:00
iprawsock.go src/pkg/[n-z]*: gofix -r error -force=error 2011-11-01 22:05:34 -04:00
ipsock_plan9.go net, os, syscall: delete os.EPLAN9 2012-02-17 10:59:30 +09:00
ipsock_posix.go net: make Dial and Listen behavior consistent across over platforms 2012-03-06 00:13:10 +09:00
ipsock.go net: replace error variable name e, errno with err 2012-02-01 00:36:45 +09:00
lookup_plan9.go all: fixed various typos 2012-03-01 14:56:05 -08:00
lookup_test.go net: make -external flag for tests default to true 2012-03-01 07:39:03 +09:00
lookup_unix.go pkg: add missing godoc comments to windows versions 2012-01-17 16:51:54 +11:00
lookup_windows.go net: replace error variable name e, errno with err 2012-02-01 00:36:45 +09:00
mac_test.go net: don't import bytes or fmt in mac.go 2012-03-05 11:43:28 -08:00
mac.go net: don't import bytes or fmt in mac.go 2012-03-05 11:43:28 -08:00
multicast_test.go net: disable another external network test 2012-03-07 00:02:07 -05:00
net_test.go net: disable use of external listen along with other external network uses 2012-03-06 23:35:31 -05:00
net.go net, net/rpc, reflect, time: document concurrency guarantees 2012-03-07 14:55:09 -05:00
newpollserver.go os: delete Exec, NewFile takes uintptr, rename ShellExpand, doc fixes 2012-02-10 14:16:15 +11:00
parse_test.go net: add skip message to test 2012-03-06 15:41:17 +09:00
parse.go net: make parseProcNetIGMP more robust 2012-02-23 06:26:31 +09:00
pipe_test.go src/pkg/[n-z]*: gofix -r error -force=error 2011-11-01 22:05:34 -04:00
pipe.go net: change SetTimeout to SetDeadline 2012-01-18 16:24:06 -08:00
port_test.go net: fix test for Solaris: gopher and http are not in /etc/services. 2011-03-07 15:31:41 -08:00
port.go crypto/mime/net/time: add netbsd to +build tags 2011-12-21 21:44:47 +11:00
sendfile_linux.go net: avoid Shutdown during Close 2012-02-14 00:40:37 -05:00
sendfile_stub.go crypto/mime/net/time: add netbsd to +build tags 2011-12-21 21:44:47 +11:00
sendfile_windows.go net: fix windows build 2012-02-14 14:57:57 +09:00
server_test.go net: disable use of external listen along with other external network uses 2012-03-06 23:35:31 -05:00
sock_bsd.go net: enable SO_REUSEADDR, SO_REUSEPORT options on stream, multicast listeners only 2012-02-11 11:50:51 +09:00
sock_linux.go net: enable SO_REUSEADDR, SO_REUSEPORT options on stream, multicast listeners only 2012-02-11 11:50:51 +09:00
sock_windows.go net: enable SO_REUSEADDR, SO_REUSEPORT options on stream, multicast listeners only 2012-02-11 11:50:51 +09:00
sock.go net: make Dial and Listen behavior consistent across over platforms 2012-03-06 00:13:10 +09:00
sockopt_bsd.go net: make Dial and Listen behavior consistent across over platforms 2012-03-06 00:13:10 +09:00
sockopt_linux.go net: make Dial and Listen behavior consistent across over platforms 2012-03-06 00:13:10 +09:00
sockopt_windows.go net: make Dial and Listen behavior consistent across over platforms 2012-03-06 00:13:10 +09:00
sockopt.go net: remove all direct fmt and bytes imports 2012-03-05 13:36:05 -08:00
sockoptip_bsd.go net: avoid Shutdown during Close 2012-02-14 00:40:37 -05:00
sockoptip_darwin.go net: avoid Shutdown during Close 2012-02-14 00:40:37 -05:00
sockoptip_freebsd.go net: avoid Shutdown during Close 2012-02-14 00:40:37 -05:00
sockoptip_linux.go net: avoid Shutdown during Close 2012-02-14 00:40:37 -05:00
sockoptip_netbsd.go net: no panic on placeholders for netbsd 2012-02-28 10:58:01 +09:00
sockoptip_openbsd.go net: avoid Shutdown during Close 2012-02-14 00:40:37 -05:00
sockoptip_windows.go net: avoid Shutdown during Close 2012-02-14 00:40:37 -05:00
sockoptip.go net: avoid Shutdown during Close 2012-02-14 00:40:37 -05:00
tcpsock_plan9.go net, os, syscall: delete os.EPLAN9 2012-02-17 10:59:30 +09:00
tcpsock_posix.go net: remove all direct fmt and bytes imports 2012-03-05 13:36:05 -08:00
tcpsock.go src/pkg/[n-z]*: gofix -r error -force=error 2011-11-01 22:05:34 -04:00
timeout_test.go net: add skip message to test 2012-03-06 15:41:17 +09:00
udp_test.go net: add skip message to test 2012-03-06 15:41:17 +09:00
udpsock_plan9.go net, os, syscall: delete os.EPLAN9 2012-02-17 10:59:30 +09:00
udpsock_posix.go net: make Dial and Listen behavior consistent across over platforms 2012-03-06 00:13:10 +09:00
udpsock.go src/pkg/[n-z]*: gofix -r error -force=error 2011-11-01 22:05:34 -04:00
unicast_test.go net: drop unnecessary type assertions and fix leak in test 2012-03-20 10:57:54 +09:00
unixsock_plan9.go net, os, syscall: delete os.EPLAN9 2012-02-17 10:59:30 +09:00
unixsock_posix.go net: document ReadMsgUnix, WriteMsgUnix 2012-03-08 08:36:40 -05:00
unixsock.go src/pkg/[n-z]*: gofix -r error -force=error 2011-11-01 22:05:34 -04:00