@dsivd/prestations-ng 18.3.6 → 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,20 @@
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
+
16
+ ## [18.3.7]
17
+
18
+ ### Fixed
19
+
20
+ - [support-alert.service.ts](projects/prestations-ng/src/sdk-support-alert/support-alert.service.ts)
21
+ - fixed `canBypassAlerts` (removed extra trailing slash)
22
+
9
23
  ## [18.3.6]
10
24
 
11
25
  ### Updated
Binary file
@@ -4232,7 +4232,7 @@ class SupportAlertService {
4232
4232
  ? new HttpParams().set('alertsByPassUUID', alertsByPassUUID)
4233
4233
  : null;
4234
4234
  return this.http
4235
- .get('api/support-alert/alerts/can-bypass/', { params })
4235
+ .get('api/support-alert/alerts/can-bypass', { params })
4236
4236
  .pipe(catchError(() => of(false)));
4237
4237
  }
4238
4238
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: SupportAlertService, deps: [{ token: i1.HttpClient }, { token: i1$1.Router }, { token: i1$1.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Injectable }); }
@@ -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
  });