PushBase Key - Valid Characters

I am wondering what characters are allowed in a button key. Does it also create an underscore (_)? I always press the letter key with -.

+5
source share
1 answer

Keys pressed use the modified Base64 alphabet:

-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz 

They consist of a timestamp and a random value. The algorithm is described here .

With Firebase keys in general, there is a small set of invalid characters, and they are listed in this answer :

Character Set Limitations

Please note that the URLs used to create Firebase links can contain any unicode except:

  • . (Period)
  • $ (dollar sign)
  • [(left square bracket)
  • ] (right square bracket)
  • # (hash or pound sign)
  • /(slash)
+14
source

Source: https://habr.com/ru/post/1261262/


All Articles