Skip to content

Commit

Permalink
fix(feature-details): fix depot url regex (#1690)
Browse files Browse the repository at this point in the history
  • Loading branch information
LAMM26 authored Aug 22, 2024
1 parent 61b864a commit 57c425c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ export class FeatureDetailsComponent implements OnInit, OnDestroy {

openSecureUrl(value) {
let url: string;
const regexDepot = new RegExp(
this.configService?.getConfig('depot.url') + '.*?(?="|$)'
const regexDepot: RegExp = new RegExp(
this.configService?.getConfig('depot.url') + '.*?(?=\\s|$)'
);

if (regexDepot.test(value)) {
Expand Down

0 comments on commit 57c425c

Please sign in to comment.