General

Profile

dragonsinth (Scott Blum)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

02/13/2015

06:26 PM Ruby Feature #10740: Base64 urlsafe methods are not urlsafe
Awesome, thanks! dragonsinth (Scott Blum)

01/31/2015

11:31 PM Ruby Feature #10740: Base64 urlsafe methods are not urlsafe
Awesome. :) dragonsinth (Scott Blum)

01/16/2015

08:57 PM Ruby Feature #10740: Base64 urlsafe methods are not urlsafe
Updated https://github.com/ruby/ruby/pull/815 and merged in changes from Yusuke Endoh dragonsinth (Scott Blum)
07:06 PM Ruby Feature #10740: Base64 urlsafe methods are not urlsafe
That looks awesome. I'll update my PR. dragonsinth (Scott Blum)

01/14/2015

07:56 PM Ruby Feature #10740: Base64 urlsafe methods are not urlsafe
I suspect the reason the spec is that way is that it's easier to calculate what the decoded length will be if the encoding is always divisible by 4, since it's just `(encoded_len / 4) * 3`. It makes more since in the context of wire pro... dragonsinth (Scott Blum)

01/13/2015

11:15 PM Ruby Feature #10740: Base64 urlsafe methods are not urlsafe
https://github.com/ruby/ruby/pull/815 dragonsinth (Scott Blum)
11:11 PM Ruby Feature #10740: Base64 urlsafe methods are not urlsafe
Note that SecureRandom.urlsafe_base64 does the right thing by default, with the note "By default, padding is not generated because "=" may be used as a URL delimiter." dragonsinth (Scott Blum)
11:07 PM Ruby Feature #10740 (Closed): Base64 urlsafe methods are not urlsafe
Base64.urlsafe_decode64 is not to spec, because it currently REQUIRES appropriate trailing '=' characters.
Base64.urlsafe_encode64 produces trailing '=' characters.
'=' is not web safe, and is not recommended for base64url. Some spe...
dragonsinth (Scott Blum)

Also available in: Atom