[tor-commits] [flashproxy/master] Use URL.Path
dcf at torproject.org
dcf at torproject.org
Sun May 19 16:11:39 UTC 2013
commit 4d3ec36e3b50d830cadc447269dca6d4d6a8bf08
Author: Arlo Breault <arlolra at gmail.com>
Date: Sat May 18 21:22:04 2013 -0700
Use URL.Path
---
appspot/fp.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/appspot/fp.go b/appspot/fp.go
index ee569a2..1218681 100644
--- a/appspot/fp.go
+++ b/appspot/fp.go
@@ -16,7 +16,7 @@ func ipHandler(w http.ResponseWriter, r *http.Request) {
func regHandler(w http.ResponseWriter, r *http.Request) {
c := appengine.NewContext(r)
- blob := r.URL.String()[5:]
+ blob := r.URL.Path[5:]
client := urlfetch.Client(c)
_, err := client.Get(BASE + blob)
if err != nil {
More information about the tor-commits
mailing list