@dsivd/prestations-ng 18.3.7 → 18.3.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -6,6 +6,13 @@
6
6
 
7
7
  ---
8
8
 
9
+ ## [18.3.8]
10
+
11
+ ### Fixed
12
+
13
+ - [upload.helper.ts](projects/prestations-ng/src/foehn-upload/uploader.helper.ts)
14
+ - do not encode some characters in filename to be displayed to the user
15
+
9
16
  ## [18.3.7]
10
17
 
11
18
  ### Fixed
Binary file
@@ -14345,7 +14345,7 @@ const getSafeFileNameForErrorMessage = (fileName) => encodeURIComponent(fileName
14345
14345
  // Décoder la séquence complète (peut inclure plusieurs octets)
14346
14346
  const decoded = decodeURIComponent(match);
14347
14347
  // Vérifier si le caractère décodé est un caractère accentué, un espace ou une virgule
14348
- return /[àáâãäåçèéêëìíîïðñòóôõöùúûüýÿÀÁÂÃÄÅÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖÙÚÛÜÝŸ ,/]/.test(decoded)
14348
+ return /[àáâãäåçèéêëìíîïðñòóôõöùúûüýÿÀÁÂÃÄÅÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖÙÚÛÜÝŸ%&+:= ,/]/.test(decoded)
14349
14349
  ? decoded
14350
14350
  : match;
14351
14351
  });