[Talk-GB] OSM shortlinks problem

Jonathan Bennett openstreetmap at jonno.cix.co.uk
Mon Mar 29 11:09:33 BST 2010

On 29/03/2010 10:52, Gregory wrote:
> I understand avoiding the ending character from being
> non-alphanumeric(not letters or numbers) would mean a serious rewrite of
> how the shortlinks are made/decoded. How much longer would short links
> be if all digits were alphanumeric only?

It's also allowed behaviour. '-' is a valid URI character, so any user
agent that chops them off the end of a URI is broken. I realise that
doesn't help the people using them, but it would be better to fix the
problem in the correct place.

Having said that, it looks like geohashes use [a-z0-9] which would avoid
these problems.

Jonathan (Jonobennett)

More information about the Talk-GB mailing list