(s: string)
| 609 | * http://www.site.org/html;mk=mv?k=v#f |
| 610 | */ |
| 611 | export function encodeUriSegment(s: string): string { |
| 612 | return encodeUriString(s).replace(/\(/g, '%28').replace(/\)/g, '%29').replace(/%26/gi, '&'); |
| 613 | } |
| 614 | |
| 615 | export function decode(s: string): string { |
| 616 | return decodeURIComponent(s); |
no test coverage detected