Enable randomize in remote uploads
This commit is contained in:
parent
20456b0b3c
commit
c8fc62398a
@ -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…
Reference in New Issue
Block a user