I would like to be generating short URLs, but without certain hard to distinguish characters. For example, I would like to avoid using '1', 'l', and 'i'.
Can I just delete the ones I don't want from the mapping array at the end of the shorturl.engine.inc file?
I suppose the proper request to make is to add some configuration so administrators can specify the characters used.
Comments
Comment #1
irakli commentedSounds good.
Thx
Comment #2
mgiffordSo that's modifying this function here:
I'm wondering why it's in this odd format. Why isn't it in alphabetical order? Would be interesting to have config options where this list could be controlled, or perhaps just list it in the settings.php file like suggested using the shorturl_reserved_tokens variable
Limiting characters is also suggested here:
#792440: Lowercase urls
Comment #3
mably commentedThis issue was filed against the previous Drupal 6/7 module that used this project namespace.
The namespace has been taken over and the module has been replaced by a completely new and unrelated project for Drupal 10/11.
The original code remains available in the 6.x-1.x branch.
Closing this issue as it no longer applies to the current module.