While testing my Google App Engine application, I search for links which include app engine keys. For example:
/story/ag5yZXBsaWUtdGVzdGluZ3IMCxIFU3RvcnkY-w0M/
What characters are allowed in these keys? I had been using the regex [a-zA-Z0-9], but it seems “-” is also allowed. What else?
Is there a reference on this? I can’t find it in the App engine docs.
Google App Engine keys are encoded using URL safe base 64 encoding (see The source code for the Key datastore type).