diff --git a/handlers/index.go b/handlers/index.go index a03d445..1b45a16 100644 --- a/handlers/index.go +++ b/handlers/index.go @@ -5,7 +5,6 @@ import ( "database/sql" "encoding/hex" "fmt" - "html" "log" "net/http" "strings" @@ -66,7 +65,7 @@ func Main(w http.ResponseWriter, r *http.Request) { } w.WriteHeader(http.StatusCreated) - w.Write([]byte(fmt.Sprintf("Location: /s/%s", html.EscapeString(customCode)))) + w.Write([]byte(fmt.Sprintf("Location: /s/%s", customCode))) return }