3 ms·
> Interestingly "change_me!" is no longer legal, Unless you are using the "url-safe" variant (rfc 4648)
by bawolff 5y ago
> Interestingly "change_me!" is no longer legal,
Unless you are using the "url-safe" variant (rfc 4648)
- timv 5y agoI don't think that's true. The underscore is valid in RFC4648, but the exclamation point is not. And the RFC explicitly says: Implementations MUST reject the encoded data if it contains characters outside the base alphabet So, unless I've missed something in the RFC (and I admit I only skimmed it), change_me! isn't valid in either traditional or URL safe base64.
- bawolff 5y agoOh good point. I was skimming and missed the !