about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/http/http.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/http.go b/src/http/http.go
index b0e0145..7f9b51c 100644
--- a/src/http/http.go
+++ b/src/http/http.go
@@ -295,7 +295,7 @@ func pathHandler(w http.ResponseWriter, r *http.Request) {
 // breadcrumbs get's the breadcrumbs from the request
 func breadcrumbs(r *http.Request) structs.Breadcrumbs {
 
-	request := r.RequestURI
+	request := r.URL.Path
 
 	// mitigate path traversals
 	strippedRequest := strings.Replace(request, "..", "", -1)