From: Vincent Vanwaelscappel Date: Thu, 7 Mar 2024 16:47:53 +0000 (+0100) Subject: wait #6776 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=500e0a18801fe594f4e9e6af75da9828412463ab;p=cubist_cms-back.git wait #6776 @0.5 --- diff --git a/src/resources/views/fields/external_path.blade.php b/src/resources/views/fields/external_path.blade.php index 99aa3f7..76dbcc6 100644 --- a/src/resources/views/fields/external_path.blade.php +++ b/src/resources/views/fields/external_path.blade.php @@ -111,7 +111,7 @@ $servers = $serversClass::getAllServers(); .normalize('NFKD') // The normalize() using NFKD method returns the Unicode Normalization Form of a given string. .replace(/\s+/g, '-') // Replace spaces with - .replace(/[^\w\-]+/g, '') // Remove all non-word chars - .replace(/\_/g, '-') // Replace _ with - +// .replace(/\_/g, '-') // Replace _ with - .replace(/\-\-+/g, '-') // Replace multiple - with single - //.replace(/\-$/g, '') // Remove trailing - .replace(/fwdslash/g,'/');