cf95a8328d2d — Peter Sanchez 25 days ago
Fixing filepath collision
1 files changed, 2 insertions(+), 2 deletions(-)

M web.go
M web.go +2 -2
@@ 33,7 33,7 @@ import (
 	"net/url"
 	"os"
 	"os/signal"
-	"path/filepath"
+	gofilepath "path/filepath"
 	"regexp"
 	"runtime/pprof"
 	"sort"

          
@@ 2505,7 2505,7 @@ var oldfingers = gencache.New(gencache.O
 
 	l3 := junk.New()
 	l3["rel"] = "http://webfinger.net/rel/avatar"
-	ext := filepath.Ext(user.Options.Avatar)
+	ext := gofilepath.Ext(user.Options.Avatar)
 	if ext[1:] == "jpg" {
 		l3["type"] = "image/jpeg"
 	} else if ext[1:] == "png" {