bolorundurowb/shortid

URL safe

Closed this issue · 1 comments

Hi,

Please can you confirm if the shortid is url safe?
Or need to make them URL safe?

Please advice & suggest.

Thanks

@burhanfarooqoffice yes, the short ids generated are URL safe, but you can be doubly sure by url encodding them

var urlSafeId = HttpUtility.UrlEncode(generatedId);