diff --git a/client/src/app/components/shared/search-bar.component.ts b/client/src/app/components/shared/search-bar.component.ts index c888ac58..a6d91128 100644 --- a/client/src/app/components/shared/search-bar.component.ts +++ b/client/src/app/components/shared/search-bar.component.ts @@ -41,7 +41,7 @@ export class SearchBarComponent { constructor(private router: Router) { } submit(): void { - const query = this.model.query.replace(":", "/"); + const query = this.model.query.replace(":", "/").replace("..", "-"); const url = "/search/" + this.model.source.id + "/" + query; this.router.navigateByUrl(url); }