diff --git a/src/frontend/app/installer/docservers/docservers.component.ts b/src/frontend/app/installer/docservers/docservers.component.ts
index f563049b6f97255b4e5062bc7f8c38261d3a8d13..bd8b67b463127abcbc7ca7d57b6644090ea2ffc5 100644
--- a/src/frontend/app/installer/docservers/docservers.component.ts
+++ b/src/frontend/app/installer/docservers/docservers.component.ts
@@ -1,5 +1,5 @@
 import { Component, OnInit } from '@angular/core';
-import { FormBuilder, FormGroup, Validators } from '@angular/forms';
+import { FormBuilder, FormGroup, Validators, ValidatorFn } from '@angular/forms';
 import { NotificationService } from '../../../service/notification/notification.service';
 import { tap } from 'rxjs/internal/operators/tap';
 import { LANG } from '../../translate.component';
@@ -23,8 +23,10 @@ export class DocserversComponent implements OnInit {
         public http: HttpClient,
         private installerService: InstallerService
     ) {
+        const valPath: ValidatorFn[] = [Validators.pattern(/^[^\'\<\>\|\*\:\?]+$/), Validators.required];
+
         this.stepFormGroup = this._formBuilder.group({
-            docserversPath: ['/opt/maarch/docservers/', Validators.required],
+            docserversPath: ['/opt/maarch/docservers/', valPath],
             stateStep: ['', Validators.required],
         });