jumbatm / cloud-path-tracer

A toy online path tracing service.
GNU General Public License v3.0
0 stars 1 forks source link

Handle errors during form submission #14

Closed peter2380123 closed 5 years ago

peter2380123 commented 5 years ago

As of now, client still sees assigned uuid despite redis.createClient. Although the 'send uuid to client' thing is subject to change (e.g. to a redirected url), the errors that occur when submitting forms must still be handled prior to redirection.

Related to #11

jumbatm commented 5 years ago

Agreed. Care must be taken to ensure that this validation happens on the server side (at least), or we risk crashing the poor server with invalid input.