Jump to content

Minor forum bug


Recommended Posts

Editing a post can create a new post with the updated content. To reproduce:

a) Edit an existing post and submit the changes.

b) Go back using your browser's "back" function (you will see the unupdated contents of the post, suspect that's the root issue)

c) Modify and save again. Your new edit will appear as a new post rather than replacing the content of the previous one.

 

Nothing really earth-shattering, I know.

Link to comment
Share on other sites

Nope, you're thinking I reloaded the "new post" form, but I reloaded the "edit post" form, which shouldn't post anything new.

It's not a huge issue, but from a security perspective any time your code does something surprising, even if completely benign, you need to patch it.

Link to comment
Share on other sites

Test again? nope, still the same. (I still went back to the New post page, not the Edit post page. These two posts I made with the Add reply button, the previous two with the Fast reply box.)
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...