Actions
action #24730
closedAllow only valid hostnames
Start date:
2017-09-07
Due date:
2017-09-11
% Done:
100%
Estimated time:
Description
The input in the invis-server portal is not validated. Thus you can create hosts with invalid hostnames, for example with blanks. This creates a dhcp-entry with this invalid name and invokes the samba-tool, which is used to create the DNS-entry, with invalid parameters. This needs to be improved:
- Validate the input in JavaScript while typing
- Validate the input in PHP before starting the samba-tool/moddns-Scripts
- Give the user feedback (error message)
Updated by flacco over 6 years ago
Additional to the name-validation we should change all uppercase letters to lowercase.
Updated by ingogoeppert over 6 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 50
Done:
- Validate the input in PHP before starting the samba-tool/moddns-Scripts
- Give the user feedback (error message)
- Validate the input when a host is modified
No idea how to implement:
- Validate the input in JavaScript because the input filed exists only while typing
Updated by ingogoeppert over 6 years ago
- Status changed from In Progress to Resolved
- % Done changed from 50 to 80
Needs to be tested
Updated by ingogoeppert over 6 years ago
- Status changed from Resolved to In Progress
Updated by ingogoeppert over 6 years ago
- Due date set to 2017-09-11
- Status changed from In Progress to Closed
Bugs fixed. Ok. But without any checks in JS.
Updated by ingogoeppert over 6 years ago
- Category changed from 364 to Developement
Updated by ingogoeppert about 6 years ago
- Project changed from invis-server to invisAD-setup
- Category deleted (
Developement) - Target version deleted (
13.0)
Updated by ingogoeppert about 6 years ago
- Has duplicate action #27352: Generate a error message if a hostname already exist added
Actions