WIP: image processing is back and working
This commit is contained in:
@@ -60,7 +60,7 @@ func (h *ImageHandler) serveImage(w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
|
||||
// Do not leak that this ID exists.
|
||||
if !exists || *image.UserID != userID {
|
||||
if !exists || image.UserID != userID {
|
||||
w.WriteHeader(http.StatusNotFound)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user