Files
projet_gestion_commande/frontend-admin/node_modules/strict-uri-encode/index.js
T
2026-02-07 22:33:02 +01:00

3 lines
138 B
JavaScript

'use strict';
module.exports = str => encodeURIComponent(str).replace(/[!'()*]/g, x => `%${x.charCodeAt(0).toString(16).toUpperCase()}`);