Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(468)

Unified Diff: src/pkg/net/http/export_test.go

Issue 9766046: code review 9766046: net/http: Fix authentication info leakage in Referer he...
Patch Set: diff -r 654ca7de0282 https://code.google.com/p/go Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/pkg/net/http/client_test.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pkg/net/http/export_test.go
===================================================================
--- a/src/pkg/net/http/export_test.go
+++ b/src/pkg/net/http/export_test.go
@@ -9,6 +9,7 @@
import (
"net"
+ "net/url"
"time"
)
@@ -62,3 +63,7 @@
}
var DefaultUserAgent = defaultUserAgent
+
+func RefererForURL(u *url.URL) string {
+ return refererForURL(u)
+}
« no previous file with comments | « src/pkg/net/http/client_test.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b