[sword-devel] problem with InstallMgr cache

Karl Kleinpaste karl at kleinpaste.org
Thu Jan 17 07:03:43 MST 2008


Martin Gruner <mg.pub at gmx.net> writes:
> And no more than 8+3 characters.  Hehe.

Oh, for pity's sake...  Working far too hard at a non-problem.

Fine, take the caption name, in any character combination the user
wants, and shovel it through an MD5 hash, stripping off the upper 8
characters as the intended name.  The likelihood of a resulting name
collision is so close to zero as to be ignorable.

I mean, really now.  Make a single, simple sanity check in the UI about
allowable character choices within that UI's allowable set, and this
problem evaporates.



More information about the sword-devel mailing list