Bug 275141
Summary: | [WTF] allow `Base64EncodeMode::URL` to include padding | ||
---|---|---|---|
Product: | WebKit | Reporter: | Devin Rousso <hi> |
Component: | Web Template Framework | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Devin Rousso
Pull request: https://github.com/WebKit/WebKit/pull/29530
Radar WebKit Bug Importer
<rdar://problem/129650770>
EWS
Committed 280647@main (1d7c9c399327): <https://commits.webkit.org/280647@main>
Reviewed commits have been landed. Closing PR #29530 and removing active labels.