Project

General

Profile

Actions

action #24730

closed

Allow only valid hostnames

Added by ingogoeppert over 6 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
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)

Related issues 1 (0 open1 closed)

Has duplicate invisAD-setup - action #27352: Generate a error message if a hostname already existRejected2017-11-05

Actions
Actions #1

Updated by flacco over 6 years ago

Additional to the name-validation we should change all uppercase letters to lowercase.

Actions #2

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
Actions #3

Updated by ingogoeppert over 6 years ago

  • Target version set to 13.0
Actions #4

Updated by ingogoeppert over 6 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 50 to 80

Needs to be tested

Actions #5

Updated by ingogoeppert over 6 years ago

  • Status changed from Resolved to In Progress
Actions #6

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.

Actions #7

Updated by ingogoeppert over 6 years ago

  • Category changed from 364 to Developement
Actions #8

Updated by ingogoeppert about 6 years ago

  • Project changed from invis-server to invisAD-setup
  • Category deleted (Developement)
  • Target version deleted (13.0)
Actions #9

Updated by ingogoeppert about 6 years ago

  • Has duplicate action #27352: Generate a error message if a hostname already exist added
Actions #10

Updated by ingogoeppert over 2 years ago

  • % Done changed from 80 to 100
Actions

Also available in: Atom PDF