I made a pastebin site where each entry gets a random string. For example
example.com/ds34
example.com/sdf-2zA
example.com/234+_2
My question is, what is the grammar rule for these strings?
Can that start with anything? which characters are/aren’t allowed?
See in RFC and w3.org. In short – any ASCII symbol excluding reserved
! * ' ( ) ; : @ & = + $, / ? % # [ ]. Other symbols can be percent-encoded.