You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if users had the ability to edit pastes. If I share code via this pastebin, I may want to add more files, replace existing ones with updated versions, or maybe even delete unimportant ones.
To prevent DoS attacks/spamming, a long ratelimit (30 seconds or more) could be triggered on new file creation, and after a certain amount of time (1/4 of expiry?), editing could be blocked.
This could possibly be implemented in the API via another endpoint, whose URL is intentionally un-guessable (similar to deletion), and which is returned together with the paste/delete URL in the creation response (possibly only if a certain flag is set during creation, e.g. {.., "editable": true}, to remain fully backwards compatible)
The text was updated successfully, but these errors were encountered:
It would be nice if users had the ability to edit pastes. If I share code via this pastebin, I may want to add more files, replace existing ones with updated versions, or maybe even delete unimportant ones.
To prevent DoS attacks/spamming, a long ratelimit (30 seconds or more) could be triggered on new file creation, and after a certain amount of time (1/4 of expiry?), editing could be blocked.
This could possibly be implemented in the API via another endpoint, whose URL is intentionally un-guessable (similar to deletion), and which is returned together with the paste/delete URL in the creation response (possibly only if a certain flag is set during creation, e.g.
{.., "editable": true}
, to remain fully backwards compatible)The text was updated successfully, but these errors were encountered: