1

@dfox For some reason, I can favorite my own rants if I send a request to do it manually, I guess that's not... good?

Comments
  • 0
  • 1
    … why would you want to favorite your own rants?
  • 2
    @AmyShackles Not saying you should do it.

    The way I found this out is by running the test I wrote for the function that favorites a rant with a specified ID. I *thought* that the server will return an error and I wanted it to in my specific test, but it surprised me with a 200 OK and it actually did that.

    I think dfox should fix this...? Honestly not sure if this matters, but I actually did favorite my own rant (the fumofumo one, check my profile to see that I actually self-favorited it).
  • 3
    @AmyShackles I just love myself
  • 2
    not a bug, why shouldn’t you be able to favorite your own rants?
  • 1
    @OmerFlame Maybe it’s that it is more likely that you’d want to modify a rant than favorite your own rant, space is at a premium on mobile so there isn’t space for both options… but if you want it so damned badly that you execute a request outside of the application, who is @dfox to stop you?
  • 0
    @AmyShackles Favoriting your own rants is also not possible on the desktop web app. This is undocumented behavior, as far as I know lol. Shouldn’t the server and client both be consistent about rules? I believe that if something is not allowed on the client-side, then it shouldn’t be allowed on the server-side as well… I hope I am making sense.
  • 1
    Can it be done more than once? Could a script do this for every rant and comment for a user?
  • 1
    @Demolishun technically yes. Though I don’t know if your user wouldn’t be banned shortly after or during script execution. dR servers don’t treat spam requests kindly (speaking from experience, I got a testing account banned one time for sending too many requests too quickly by total accident).
Add Comment