Redirect to paste /meta
after upload
#51
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
After an upload, the user is served the metadata of a paste while being at the root url
/
. This is not consistent with what a client would expect at that URL.Instead we should use a
302 Found
status code to redirect the user to/xd42/meta?deleteToken=xxx
after uploading a paste.