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