Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Interestingly "change_me!" is no longer legal,

Unless you are using the "url-safe" variant (rfc 4648)



I 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.


Oh good point. I was skimming and missed the !




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: