-
-
Notifications
You must be signed in to change notification settings - Fork 752
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Web app: validate server URLs #204
Comments
Indeed. 😱 Good catch. |
There isn't really much validation I can do apart from just checking that it starts with |
Well you could validate the host a bit more, like:
- is it a valid IPv4/IPv6 address?
- is it a syntactically correct FQDN?
Perhaps something like https://www.npmjs.com/package/is-valid-hostname
|
is-valid-hostname reminded me of the I think I'm alright with just checking for http://.. |
Tell me about dependency hell..... I'm fine with fixing my own sh*t 😉 |
This is done and will be in the next release. Just basic URL validation |
As in issue #193 for the Android app, the web app doesn't do any validation on the server url for user accounts (apart from it having to be at least one character long ;-) ). See screenshot:
Needs proper input validation for the URL.
The text was updated successfully, but these errors were encountered: