karldreher / KnowYourPorts

A web application which can be used to lookup TCP/IP ports.
GNU General Public License v3.0
0 stars 5 forks source link

Web App: Input Validation #3

Closed karldreher closed 7 years ago

karldreher commented 7 years ago

Input is not currently validated; should only accept numerical input.

This app is not terribly susceptible to compromise, but this is something that should be done anyway.

On the frontend, this could also add a few features, such as autoswitching keyboard to numpad on mobile, and/or highlighting bad input/disabling submit button.

Mikepicker commented 7 years ago

Hi! I've implemented a basic input validation. I've just submitted a pull request here.

karldreher commented 7 years ago

@Mikepicker This is a really nice, simple implementation. I will merge this into the main branch. Thanks for the assistance!