def urlsafe_decode64(str)
    strict_decode64(str.tr("-_", "+/"))
  end
Returns the Base64-decoded version of +str+.
This method complies with ``Base 64 Encoding with URL and Filename Safe
Alphabet'' in RFC 4648.
The alphabet uses '-' instead of '+' and '_' instead of '/'.