Browse Source

Enable randomize in remote uploads

pull/73/head
andreimarcu 9 years ago
parent
commit
c8fc62398a
  1. 1
      upload.go

1
upload.go

@ -163,6 +163,7 @@ func uploadRemote(c web.C, w http.ResponseWriter, r *http.Request) {
upReq.filename = filepath.Base(grabUrl.Path)
upReq.src = resp.Body
upReq.deletionKey = r.FormValue("deletekey")
upReq.randomBarename = r.FormValue("randomize") == "yes"
upReq.expiry = parseExpiry(r.FormValue("expiry"))
upload, err := processUpload(upReq)

Loading…
Cancel
Save