Closed SOF3 closed 2 years ago
@SOF3 Who cares? It's the plugin's responsibility to do that...
Since it is something that should not normally happen, FormAPI has the responsibility to check it because it is some safety check that plugins normally should not and would not consider.
@SOF3 Viewing at this point, I agreed. In my view plugin's should still be able to receive them if they want to do more complex things.
Only if the clients have a mod that allow exceeding valid value range...
@SOF3 I don't think that anyone would develop a C++ mod just to exceed the range.
Then what is the "more complex things" you were talking about?
And if exceeding the range allows the user to exploit something in the server, someone will make that mod.
It doesn't even have to be a mod. It could simply be a bot sending invalid JSON packets directly.
@SOF3 These points convinced me, this is not a urgent error but yes this has to be implemented.
@SOF3 I don't think that anyone would develop a C++ mod just to exceed the range.
Lol maybe Horion client might have form element editor module in one future day.
me over here who already did this.
Fixed by #61
FormAPI does not check if the response data are valid, e.g. whether a slider response exceeds the slider range.