Bug 275141

Summary: [WTF] allow `Base64EncodeMode::URL` to include padding
Product: WebKit Reporter: Devin Rousso <hi>
Component: Web Template FrameworkAssignee: Devin Rousso <hi>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=275558
Bug Depends on:    
Bug Blocks: 274635    

Devin Rousso
Reported 2024-06-04 22:37:23 PDT
technically "base64url" is the exact same as "base64" but the alphabet slightly adjusted (e.g. `_` instead of `/`), and "base64" by default includes padding, so "base64url" should too this will assist with implementing `Uint8Array.prototype.toBase64` since that expects padding to be included regardless of the alphabet <https://webkit.org/b/274635>
Attachments
Devin Rousso
Comment 1 2024-06-04 22:41:56 PDT
Radar WebKit Bug Importer
Comment 2 2024-06-11 22:38:12 PDT
EWS
Comment 3 2024-07-03 17:00:35 PDT
Committed 280647@main (1d7c9c399327): <https://commits.webkit.org/280647@main> Reviewed commits have been landed. Closing PR #29530 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.